Revert "Be specific"

This reverts commit 74eef877d5.
pull/214/head
M66B 2 years ago
parent 67a2715b51
commit f5dc237f3a

@ -20,7 +20,7 @@ package eu.faircode.email;
*/ */
import static android.os.Process.THREAD_PRIORITY_BACKGROUND; import static android.os.Process.THREAD_PRIORITY_BACKGROUND;
import static eu.faircode.email.ServiceAuthenticator.AUTH_TYPE_GMAIL; import static eu.faircode.email.ServiceAuthenticator.AUTH_TYPE_PASSWORD;
import android.app.AlarmManager; import android.app.AlarmManager;
import android.app.Notification; import android.app.Notification;
@ -1708,7 +1708,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
Log.e(ex); Log.e(ex);
// Allow Android account manager to refresh the access token // Allow Android account manager to refresh the access token
if (account.auth_type == AUTH_TYPE_GMAIL && if (account.auth_type != AUTH_TYPE_PASSWORD &&
state.getBackoff() <= CONNECT_BACKOFF_ALARM_START * 60) state.getBackoff() <= CONNECT_BACKOFF_ALARM_START * 60)
throw ex; throw ex;

Loading…
Cancel
Save