Long backoff on auth failures

pull/191/head
M66B 4 years ago
parent fb640ce9cc
commit 5a2128eeb0

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

Loading…
Cancel
Save