Start service for update checks in onPastCreate()

This commit is contained in:
TobiGr 2021-10-20 23:55:14 +02:00
parent ac071b383f
commit 768bb0bbcd
3 changed files with 26 additions and 21 deletions

View file

@ -65,7 +65,6 @@ public class App extends MultiDexApplication {
public static final String PACKAGE_NAME = BuildConfig.APPLICATION_ID;
private static final String TAG = App.class.toString();
private static App app;
private static boolean wasAppInForeground = false;
@NonNull
public static App getApp() {
@ -256,11 +255,4 @@ public class App extends MultiDexApplication {
return false;
}
public static boolean wasAppInForeground() {
return wasAppInForeground;
}
public static void setWasAppInForeground(final boolean wasAppInForeground) {
App.wasAppInForeground = wasAppInForeground;
}
}