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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user