Filter exception

pull/184/head
M66B 4 years ago
parent 7ae4213bca
commit 9f18f5f40f

@ -891,6 +891,31 @@ public class Log {
*/
return false;
if (stack.length > 0 &&
stack[0].getClassName().equals("android.text.SpannableStringInternal"))
/*
java.lang.IndexOutOfBoundsException: setSpan (-1 ... -1) starts before 0
at android.text.SpannableStringInternal.checkRange(SpannableStringInternal.java:478)
at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:189)
at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:178)
at android.text.SpannableString.setSpan(SpannableString.java:60)
at android.text.Selection.setSelection(Selection.java:93)
at android.text.Selection.setSelection(Selection.java:77)
at android.widget.Editor$SelectionHandleView.updateSelection(Editor.java:5281)
at android.widget.Editor$HandleView.positionAtCursorOffset(Editor.java:4676)
at android.widget.Editor$SelectionHandleView.positionAtCursorOffset(Editor.java:5466)
at android.widget.Editor$SelectionHandleView.positionAndAdjustForCrossingHandles(Editor.java:5528)
at android.widget.Editor$SelectionHandleView.updatePosition(Editor.java:5458)
at android.widget.Editor$HandleView.onTouchEvent(Editor.java:4989)
at android.widget.Editor$SelectionHandleView.onTouchEvent(Editor.java:5472)
at android.view.View.dispatchTouchEvent(View.java:12545)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3083)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2741)
at android.widget.PopupWindow$PopupDecorView.dispatchTouchEvent(PopupWindow.java:2407)
at android.view.View.dispatchPointerEvent(View.java:12789)
*/
return false;
if (BuildConfig.BETA_RELEASE)
return true;

Loading…
Cancel
Save