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:
parent
e0d259a48e
commit
363e206a24
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue