mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Long backoff on auth failures
This commit is contained in:
@@ -1077,6 +1077,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
} else {
|
||||
Log.e(ex);
|
||||
try {
|
||||
state.setBackoff(CONNECT_BACKOFF_ALARM_MAX * 60);
|
||||
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.notify("receive:" + account.id, 1,
|
||||
Core.getNotificationError(this, "error", account.name, ex)
|
||||
|
||||
Reference in New Issue
Block a user