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

Commit 9cbe611f 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

Change-Id: I8c841d11033c9bf18987b59edce0ccf93bb984b9
parents bcc047ca 3630fd4e
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;
                    }
                }