mirror of https://github.com/M66B/FairEmail.git
Cleanup
This commit is contained in:
parent
fff585490f
commit
a48d434153
|
@ -1741,8 +1741,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Cancel transient sync operations
|
// Cancel transient sync operations
|
||||||
boolean enabled = prefs.getBoolean("enabled", true);
|
|
||||||
int pollInterval = prefs.getInt("poll_interval", DEFAULT_POLL_INTERVAL);
|
|
||||||
if (isTransient(account)) {
|
if (isTransient(account)) {
|
||||||
List<EntityOperation> syncs = db.operation().getOperations(account.id, EntityOperation.SYNC);
|
List<EntityOperation> syncs = db.operation().getOperations(account.id, EntityOperation.SYNC);
|
||||||
if (syncs != null) {
|
if (syncs != null) {
|
||||||
|
|
Loading…
Reference in New Issue