This commit is contained in:
M66B 2020-10-26 19:12:38 +01:00
parent fff585490f
commit a48d434153
1 changed files with 0 additions and 2 deletions

View File

@ -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) {