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

Commit 4a4a53ae authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am 25945ca2: Merge "Fix silly touch bug in TextView. Oops." into gingerbread

Merge commit '25945ca2' into gingerbread-plus-aosp

* commit '25945ca2':
  Fix silly touch bug in TextView. Oops.
parents 5c9f3579 25945ca2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6714,7 +6714,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);
                }