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

Commit d085c7f1 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 0968b4ea 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;
    }