No own fault

This commit is contained in:
M66B 2019-09-03 08:18:30 +02:00
parent 1777d466f0
commit a99c4e070e
1 changed files with 16 additions and 0 deletions

View File

@ -354,6 +354,22 @@ public class Log {
if (ex instanceof NoSuchMethodError)
return false;
if (ex instanceof IllegalStateException &&
"Drag shadow dimensions must be positive".equals(ex.getMessage()))
/*
Android 9 only
java.lang.IllegalStateException: Drag shadow dimensions must be positive
java.lang.IllegalStateException: Drag shadow dimensions must be positive
at android.view.View.startDragAndDrop(View.java:24027)
at android.widget.Editor.startDragAndDrop(Editor.java:1165)
at android.widget.Editor.performLongClick(Editor.java:1191)
at android.widget.TextView.performLongClick(TextView.java:11346)
at android.view.View.performLongClick(View.java:6653)
at android.view.View$CheckForLongPress.run(View.java:25855)
at android.os.Handler.handleCallback(Handler.java:873)
*/
return false;
if (ex.getMessage() != null &&
(ex.getMessage().startsWith("Bad notification posted") ||
ex.getMessage().contains("ActivityRecord not found") ||