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

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

Merge "Fixing View.getBoundsOnScreen()" into jb-dev

parents b010601c 14b2b74c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4676,13 +4676,13 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
        }
        RectF position = mAttachInfo.mTmpTransformRect;
        position.setEmpty();
        position.set(0, 0, mRight - mLeft, mBottom - mTop);
        if (!hasIdentityMatrix()) {
            getMatrix().mapRect(position);
        }
        position.offset(mLeft, mRight);
        position.offset(mLeft, mTop);
        ViewParent parent = mParent;
        while (parent instanceof View) {