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