Filter exception

pull/180/head
M66B 4 years ago
parent d6602b4dd0
commit f23a3c06f6

@ -737,7 +737,6 @@ public class Log {
if (ex instanceof CursorWindowAllocationException ||
"android.database.CursorWindowAllocationException".equals(ex.getClass().getName()))
/*
android.database.CursorWindowAllocationException: Could not allocate CursorWindow '/data/user/0/eu.faircode.email/no_backup/androidx.work.workdb' of size 2097152 due to error -12.
android.database.CursorWindowAllocationException: Could not allocate CursorWindow '/data/user/0/eu.faircode.email/no_backup/androidx.work.workdb' of size 2097152 due to error -12.
at android.database.CursorWindow.nativeCreate(Native Method)
at android.database.CursorWindow.<init>(CursorWindow.java:139)
@ -755,7 +754,6 @@ public class Log {
if ("android.util.SuperNotCalledException".equals(ex.getClass().getName()))
/*
android.util.SuperNotCalledException: Activity {eu.faircode.email/eu.faircode.email.ActivityView} did not call through to super.onResume()
android.util.SuperNotCalledException: Activity {eu.faircode.email/eu.faircode.email.ActivityView} did not call through to super.onResume()
at android.app.Activity.performResume(Activity.java:7304)
at android.app.ActivityThread.performNewIntents(ActivityThread.java:3165)
@ -764,6 +762,25 @@ public class Log {
*/
return false;
if ("android.view.WindowManager$InvalidDisplayException".equals(ex.getClass().getName()))
/*
android.view.WindowManager$InvalidDisplayException: Unable to add window android.view.ViewRootImpl$W@d7b5a0b -- the specified display can not be found
at android.view.ViewRootImpl.setView(ViewRootImpl.java:854)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:356)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at android.widget.PopupWindow.invokePopup(PopupWindow.java:1492)
at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:1342)
at androidx.appcompat.widget.AppCompatPopupWindow.showAsDropDown(SourceFile:77)
at androidx.core.widget.PopupWindowCompat.showAsDropDown(SourceFile:69)
at androidx.appcompat.widget.ListPopupWindow.show(SourceFile:754)
at androidx.appcompat.view.menu.CascadingMenuPopup.showMenu(SourceFile:486)
at androidx.appcompat.view.menu.CascadingMenuPopup.show(SourceFile:265)
at androidx.appcompat.view.menu.MenuPopupHelper.showPopup(SourceFile:290)
at androidx.appcompat.view.menu.MenuPopupHelper.tryShow(SourceFile:177)
at androidx.appcompat.widget.ActionMenuPresenter$OpenOverflowRunnable.run(SourceFile:792)
*/
return false;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
if (ex instanceof RuntimeException && ex.getCause() instanceof DeadObjectException)
return false;

Loading…
Cancel
Save