Move boot to app

This commit is contained in:
M66B
2020-12-30 18:41:20 +01:00
parent 4f443358a3
commit 6629ad4273
2 changed files with 9 additions and 9 deletions

View File

@@ -136,6 +136,10 @@ public class ApplicationEx extends Application implements SharedPreferences.OnSh
DisconnectBlacklist.init(this);
ServiceSynchronize.boot(this);
ServiceSend.boot(this);
ServiceUI.boot(this);
boolean watchdog = prefs.getBoolean("watchdog", true);
boolean enabled = prefs.getBoolean("enabled", true);
if (watchdog && enabled)