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

Commit 8eecd54f authored by Vishnu Nair's avatar Vishnu Nair Committed by Automerger Merge Worker
Browse files

Merge "[wm] Explicitly release surfacecontrol in mirrorDisplay" into udc-dev am: d6181d7c

parents 803f290a d6181d7c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9014,7 +9014,7 @@ public class WindowManagerService extends IWindowManager.Stub

        final SurfaceControl mirror = SurfaceControl.mirrorSurface(displaySc);
        outSurfaceControl.copyFrom(mirror, "WMS.mirrorDisplay");

        mirror.release();
        return true;
    }