1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-01 09:16:00 +00:00

ERROR for advanced protection

This commit is contained in:
M66B 2024-08-11 17:54:17 +02:00
parent 8b2c342e9b
commit 7ccf489f22

View file

@ -354,7 +354,8 @@ public class FragmentGmail extends FragmentBase {
} catch (Throwable ex) { } catch (Throwable ex) {
// android.accounts.OperationCanceledException = ServiceDisabled? // android.accounts.OperationCanceledException = ServiceDisabled?
if (ex instanceof AuthenticatorException && if (ex instanceof AuthenticatorException &&
"ServiceDisabled".equals(ex.getMessage())) ("ERROR".equals(ex.getMessage())||
"ServiceDisabled".equals(ex.getMessage())))
ex = new IllegalArgumentException(disabled, ex); ex = new IllegalArgumentException(disabled, ex);
Log.e(ex); Log.e(ex);