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

Commit 25945ca2 authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix silly touch bug in TextView. Oops." into gingerbread

parents f30fae63 4d4d62b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6709,7 +6709,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            boolean handled = false;
            final float x = event.getX();
            final float y = event.getY();
            if (x < mLeft || x > mRight || y < mTop || y > mBottom) {
            if (x < 0 || x >= mRight - mLeft || y < 0 || y >= mBottom - mTop) {
                if (mInsertionPointCursorController != null) {
                    handled |= mInsertionPointCursorController.onTouchEvent(event);
                }