Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f14634e4 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Fix crash on long press in TextView

Bug 6058792

Glitch in mEditor handling

Change-Id: I9b68796d5038c20d190ba5fbdaff1608b36aaee6
parent a16c98c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8201,7 +8201,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            vibrate = false;
        }

        if (!handled && (mEditor == null || getEditor().mSelectionActionMode != null)) {
        if (!handled && mEditor != null && getEditor().mSelectionActionMode != null) {
            if (touchPositionIsInSelection()) {
                // Start a drag
                final int start = getSelectionStart();