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

Commit 4de1d1c3 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Fix requestRectangleOnScreen not called

The requestRectWithoutFocus boolean was introduced in ag/20641595.

Bug: 263152665
Test: Manual, i.e. verifying requestRectangleOnScreen is called when TextView is focused
Change-Id: I13e2856fc0488526fccb4ab5d945d1d983d7c4d4
parent b4c32613
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11467,7 +11467,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            changed = true;
        }
        if (requestRectWithoutFocus && isFocused()) {
        if (requestRectWithoutFocus || isFocused()) {
            // This offsets because getInterestingRect() is in terms of viewport coordinates, but
            // requestRectangleOnScreen() is in terms of content coordinates.