Merge "SurfaceView: Lock mDeferredDestroySurfaceControl" into rvc-dev
This commit is contained in:
@@ -1200,8 +1200,10 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
|
||||
}
|
||||
|
||||
if (mDeferredDestroySurfaceControl != null) {
|
||||
mTmpTransaction.remove(mDeferredDestroySurfaceControl).apply();
|
||||
mDeferredDestroySurfaceControl = null;
|
||||
synchronized (mSurfaceControlLock) {
|
||||
mTmpTransaction.remove(mDeferredDestroySurfaceControl).apply();
|
||||
mDeferredDestroySurfaceControl = null;
|
||||
}
|
||||
}
|
||||
|
||||
runOnUiThread(this::performDrawFinished);
|
||||
|
||||
Reference in New Issue
Block a user