CB-3064: We need to re-create the config object on resume, always create an object on init.

This commit is contained in:
Joe Bowser 2013-05-21 13:32:57 -07:00
parent f38a2ae14a
commit 77eada7dbd

View File

@ -50,9 +50,8 @@ public class Config {
private static Config self = null;
public static void init(Activity action) {
if (self == null) {
self = new Config(action);
}
//Just re-initialize this! Seriously, we lose this all the time
self = new Config(action);
}
// Intended to be used for testing only; creates an empty configuration.