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

Commit 4d4d62b2 authored by Adam Powell's avatar Adam Powell
Browse files

Fix silly touch bug in TextView. Oops.

Change-Id: Ib256154124c05944c7f2125edfd38ee6799412be
parent b08013c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -6709,7 +6709,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            boolean handled = false;
            boolean handled = false;
            final float x = event.getX();
            final float x = event.getX();
            final float y = event.getY();
            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) {
                if (mInsertionPointCursorController != null) {
                    handled |= mInsertionPointCursorController.onTouchEvent(event);
                    handled |= mInsertionPointCursorController.onTouchEvent(event);
                }
                }