mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-27 16:56:57 +02:00
Remove onCreate guard, as Robolectric seems to have evolved
This commit is contained in:
parent
019edf3975
commit
e51cf66a15
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user