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

Reduced logging

This commit is contained in:
M66B 2024-10-15 07:32:12 +02:00
parent 44f8e4aba2
commit 4c5c6c5578

View file

@ -1281,6 +1281,18 @@ public class Log {
if ("java.lang.Daemons$FinalizerWatchdogDaemon".equals(ste.getClassName()))
return false;
if (ex instanceof NullPointerException &&
ex.getMessage() != null && ex.getMessage().contains("android.window.BackMotionEvent"))
/*
java.lang.NullPointerException: Attempt to invoke virtual method 'float android.window.BackMotionEvent.getTouchX()' on a null object reference
at android.window.WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper.lambda$onBackStarted$1(WindowOnBackInvokedDispatcher.java:353)
at android.window.WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper.$r8$lambda$jWVwe-YeLRxW3tAMLuWZynG6e1k(Unknown Source:0)
at android.window.WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper$$ExternalSyntheticLambda4.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
*/
return false;
if (ex instanceof IndexOutOfBoundsException &&
stack.length > 0 &&
"android.text.SpannableStringInternal".equals(stack[0].getClassName()) &&