Never overlook the obvious

This commit is contained in:
M66B
2020-04-05 13:57:58 +02:00
parent e0d259a48e
commit 363e206a24

View File

@@ -1783,8 +1783,10 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
// Init service
int accounts = db.account().getSynchronizingAccounts().size();
if (accounts > 0)
eval(context, "boot");
if (accounts > 0) {
// Reload: watchdog or user might have started service already
reload(context, null, false, "boot");
}
} catch (Throwable ex) {
Log.e(ex);
}