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

Commit d6181d7c authored by Vishnu Nair's avatar Vishnu Nair Committed by Android (Google) Code Review
Browse files

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

parents 87f1a12c 8b607589
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;
    }