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

Commit 1908cf9e authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "Fixing argument expectations of View.requestRectangleOnScreen" into jb-mr1-dev

parents b1c4ab5c 989ae759
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4348,13 +4348,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @return Whether any parent scrolled.
     */
    public boolean requestRectangleOnScreen(Rect rectangle, boolean immediate) {
        if (mAttachInfo == null) {
        if (mParent == null) {
            return false;
        }
        View child = this;
        RectF position = mAttachInfo.mTmpTransformRect;
        RectF position = (mAttachInfo != null) ? mAttachInfo.mTmpTransformRect : new RectF();
        position.set(rectangle);
        ViewParent parent = mParent;