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

Commit 313c209a authored by Justin Ghan's avatar Justin Ghan Committed by Android (Google) Code Review
Browse files

Merge "Allow gestures after end of line"

parents 3446415d f2560038
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -10229,8 +10229,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            // The point is not within lineMargin of a line.
            return -1;
        }
        if (point.x < mLayout.getLineLeft(line) - lineMargin
                || point.x > mLayout.getLineRight(line) + lineMargin) {
        if (point.x < -lineMargin || point.x > mLayout.getWidth() + lineMargin) {
            // The point is not within lineMargin of a line.
            return -1;
        }