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

Commit 0b373538 authored by Santiago Etchebehere's avatar Santiago Etchebehere
Browse files

Call cleanup on Launcher when requesting a new grid preview

Bug: 186712316
Test: manual
Change-Id: I0909c704cee75b5814510fb626c613a2ce9380b3
parent 27e34167
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ class GridOptionPreviewer {
        // Reattach SurfaceView to trigger #surfaceCreated to update preview for different option.
        mPreviewContainer.removeAllViews();
        if (mSurfaceCallback != null) {
            mSurfaceCallback.cleanUp();
            mSurfaceCallback.resetLastSurface();
        }
        if (mGridOptionSurface == null) {