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

Commit 9f809c2f authored by Gilles Debunne's avatar Gilles Debunne Committed by Android (Google) Code Review
Browse files

Merge "Fix crash on long press in TextView"

parents b87148b2 f14634e4
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();