Stop retrying when on manual sync

pull/174/head
M66B 5 years ago
parent 73aa38dac4
commit 997fed9f54

@ -1491,6 +1491,10 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
Log.w(account.name + " backoff " + ex.toString());
}
} else {
// Stop retrying when on manual sync
if (account.ondemand)
break;
// Stop retrying when executing operations only
boolean enabled = prefs.getBoolean("enabled", true);
if (!enabled)

Loading…
Cancel
Save