Remove onCreate guard, as Robolectric seems to have evolved

This commit is contained in:
Benedikt Elser 2018-07-17 15:12:03 +02:00
parent 019edf3975
commit e51cf66a15
1 changed files with 0 additions and 5 deletions

View File

@ -145,11 +145,6 @@ public class GBApplication extends Application {
app = this;
super.onCreate();
if (lockHandler != null) {
// guard against multiple invocations (robolectric)
return;
}
sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context);
prefs = new Prefs(sharedPrefs);
gbPrefs = new GBPrefs(prefs);