Merge "SurfaceView: Synchronize visibility changes with VRI frame" into sc-v2-dev am: f3a504e3d6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16577758

Change-Id: Id6057e44ba0a23a85827675b96ce3ea196345867
This commit is contained in:
Vishnu Nair
2022-01-11 17:05:11 +00:00
committed by Automerger Merge Worker

View File

@@ -966,9 +966,9 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
mParentSurfaceSequenceId = viewRoot.getSurfaceSequenceId();
if (mViewVisibility) {
mTmpTransaction.show(mSurfaceControl);
geometryTransaction.show(mSurfaceControl);
} else {
mTmpTransaction.hide(mSurfaceControl);
geometryTransaction.hide(mSurfaceControl);
}
if (mSurfacePackage != null) {