Merge "SurfaceView: Synchronize visibility changes with VRI frame" into sc-v2-dev
This commit is contained in:
@@ -966,9 +966,9 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
|
|||||||
mParentSurfaceSequenceId = viewRoot.getSurfaceSequenceId();
|
mParentSurfaceSequenceId = viewRoot.getSurfaceSequenceId();
|
||||||
|
|
||||||
if (mViewVisibility) {
|
if (mViewVisibility) {
|
||||||
mTmpTransaction.show(mSurfaceControl);
|
geometryTransaction.show(mSurfaceControl);
|
||||||
} else {
|
} else {
|
||||||
mTmpTransaction.hide(mSurfaceControl);
|
geometryTransaction.hide(mSurfaceControl);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mSurfacePackage != null) {
|
if (mSurfacePackage != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user