mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Stop retrying when on manual sync
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user