Limit auto optimize account exemption

This commit is contained in:
M66B 2020-03-30 18:14:02 +02:00
parent 5e453492ab
commit 7a85c270b2
1 changed files with 1 additions and 1 deletions

View File

@ -1591,7 +1591,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
db.endTransaction();
}
ServiceSynchronize.eval(ServiceSynchronize.this, "Optimize=" + reason);
} else if (account.poll_exempted) {
} else if (pollInterval <= 60 && account.poll_exempted) {
db.account().setAccountPollExempted(account.id, false);
ServiceSynchronize.eval(ServiceSynchronize.this, "Optimize=" + reason);
}