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

Commit 8c14074b authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Correct the bound if it's from outside of screen am: a67e14a6 am: 86e825ac am: 46536afa

Change-Id: I45deb38e8adec6c73fb01d9cdb21fe766b332dca
parents ba39049e 46536afa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1646,7 +1646,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
    }

    private void updateScreenMatrixForEmbeddedHierarchy() {
        getBoundsOnScreen(mTmpRect, true);
        getBoundsOnScreen(mTmpRect);
        mTmpMatrix.reset();
        mTmpMatrix.setTranslate(mTmpRect.left, mTmpRect.top);
        mTmpMatrix.postScale(mScreenRect.width() / (float) mSurfaceWidth,