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

Commit a8f4f91f authored by Shu Chen's avatar Shu Chen Committed by Android (Google) Code Review
Browse files

Merge "Makes the multi-touch prevention only works for editable TextView."

parents 59f17760 265096d9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -11051,12 +11051,12 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                    MotionEvent.actionToString(event.getActionMasked()),
                    event.getX(), event.getY());
        }
        final int action = event.getActionMasked();
        if (mEditor != null) {
            if (!isFromPrimePointer(event, false)) {
                return true;
            }
        final int action = event.getActionMasked();
        if (mEditor != null) {
            mEditor.onTouchEvent(event);
            if (mEditor.mInsertionPointCursorController != null