mirror of https://github.com/M66B/FairEmail.git
No own fault
This commit is contained in:
parent
1777d466f0
commit
a99c4e070e
|
@ -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") ||
|
||||
|
|
Loading…
Reference in New Issue