Correct the bound if it's from outside of screen am: a67e14a6e1 am: 86e825ac36

Change-Id: If4e6573ed86fbc4e37efb56b1c333cffa49f6f5c
This commit is contained in:
Automerger Merge Worker
2020-02-24 04:34:56 +00:00

View File

@@ -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,