1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

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);
}