Start service for update checks in onPastCreate()
This commit is contained in:
parent
ac071b383f
commit
768bb0bbcd
3 changed files with 26 additions and 21 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue