Limit auto optimize account exemption

pull/178/head
M66B 6 years ago
parent 5e453492ab
commit 7a85c270b2

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

Loading…
Cancel
Save