Merge "Fix requestRectangleOnScreen not called" into udc-dev

This commit is contained in:
Johannes Gallmann
2023-03-29 07:17:13 +00:00
committed by Android (Google) Code Review

View File

@@ -11497,7 +11497,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.