Loading core/java/android/view/SurfaceView.java +4 −2 Original line number Original line Diff line number Diff line Loading @@ -1200,9 +1200,11 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall } } if (mDeferredDestroySurfaceControl != null) { if (mDeferredDestroySurfaceControl != null) { synchronized (mSurfaceControlLock) { mTmpTransaction.remove(mDeferredDestroySurfaceControl).apply(); mTmpTransaction.remove(mDeferredDestroySurfaceControl).apply(); mDeferredDestroySurfaceControl = null; mDeferredDestroySurfaceControl = null; } } } runOnUiThread(this::performDrawFinished); runOnUiThread(this::performDrawFinished); } } Loading Loading
core/java/android/view/SurfaceView.java +4 −2 Original line number Original line Diff line number Diff line Loading @@ -1200,9 +1200,11 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall } } if (mDeferredDestroySurfaceControl != null) { if (mDeferredDestroySurfaceControl != null) { synchronized (mSurfaceControlLock) { mTmpTransaction.remove(mDeferredDestroySurfaceControl).apply(); mTmpTransaction.remove(mDeferredDestroySurfaceControl).apply(); mDeferredDestroySurfaceControl = null; mDeferredDestroySurfaceControl = null; } } } runOnUiThread(this::performDrawFinished); runOnUiThread(this::performDrawFinished); } } Loading