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

Commit 3630fd4e authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

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

parents 8d25b77e de844434
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;
                    }
                }