mirror of https://github.com/M66B/FairEmail.git
Reschedule on auto optimize
This commit is contained in:
parent
d6fa38d48e
commit
d8db9d1836
|
@ -1671,7 +1671,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|||
} finally {
|
||||
db.endTransaction();
|
||||
}
|
||||
ServiceSynchronize.eval(ServiceSynchronize.this, "Optimize=" + reason);
|
||||
ServiceSynchronize.reschedule(ServiceSynchronize.this);
|
||||
} else if (pollInterval <= 60 && account.poll_exempted) {
|
||||
db.account().setAccountPollExempted(account.id, false);
|
||||
ServiceSynchronize.eval(ServiceSynchronize.this, "Optimize=" + reason);
|
||||
|
|
Loading…
Reference in New Issue