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

Commit e96ac8e4 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

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

Merge "Merge "SurfaceView: Release Surface with SurfaceControl." into oc-dev am: 3630fd4e am: 9cbe611f"
parents bd09eb33 bb8131b1
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;
                    }
                }