1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-24 16:53:37 +00:00
This commit is contained in:
M66B 2020-10-26 19:12:38 +01:00
parent fff585490f
commit a48d434153

View file

@ -1741,8 +1741,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
}
} else {
// Cancel transient sync operations
boolean enabled = prefs.getBoolean("enabled", true);
int pollInterval = prefs.getInt("poll_interval", DEFAULT_POLL_INTERVAL);
if (isTransient(account)) {
List<EntityOperation> syncs = db.operation().getOperations(account.id, EntityOperation.SYNC);
if (syncs != null) {