Merge "Fix requestRectangleOnScreen not called" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
04c7e4a566
@@ -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