Merge "Fix requestRectangleOnScreen not called" into udc-dev am: 04c7e4a566
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22250705 Change-Id: I0a86ebf1d81a8dba892ee41bad0660b47e5a47d2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -11497,7 +11497,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (requestRectWithoutFocus && isFocused()) {
|
if (requestRectWithoutFocus || isFocused()) {
|
||||||
// This offsets because getInterestingRect() is in terms of viewport coordinates, but
|
// This offsets because getInterestingRect() is in terms of viewport coordinates, but
|
||||||
// requestRectangleOnScreen() is in terms of content coordinates.
|
// requestRectangleOnScreen() is in terms of content coordinates.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user