Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb8131b1 authored by Rob Carr's avatar Rob Carr Committed by android-build-merger
Browse files

Merge "SurfaceView: Release Surface with SurfaceControl." into oc-dev am: 3630fd4e

am: 9cbe611f

Change-Id: I1b18f556b4b42f81ddca69ae5ce420d7a612bf6b
parents 2bd8bdc8 9cbe611f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -678,6 +678,7 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
                    mIsCreating = false;
                    if (mSurfaceControl != null && !mSurfaceCreated) {
                        mSurfaceControl.destroy();
                        mSurface.release();
                        mSurfaceControl = null;
                    }
                }