From 7ccf489f22a3f6ab9b38ab5538c26c1d7bb787ca Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 11 Aug 2024 17:54:17 +0200 Subject: [PATCH] ERROR for advanced protection --- app/src/main/java/eu/faircode/email/FragmentGmail.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentGmail.java b/app/src/main/java/eu/faircode/email/FragmentGmail.java index 4462f1ed54..8709791bda 100644 --- a/app/src/main/java/eu/faircode/email/FragmentGmail.java +++ b/app/src/main/java/eu/faircode/email/FragmentGmail.java @@ -354,7 +354,8 @@ public class FragmentGmail extends FragmentBase { } catch (Throwable ex) { // android.accounts.OperationCanceledException = ServiceDisabled? if (ex instanceof AuthenticatorException && - "ServiceDisabled".equals(ex.getMessage())) + ("ERROR".equals(ex.getMessage())|| + "ServiceDisabled".equals(ex.getMessage()))) ex = new IllegalArgumentException(disabled, ex); Log.e(ex);