Merge "[wm] Explicitly release surfacecontrol in mirrorDisplay" into udc-dev am: d6181d7c2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23136534 Change-Id: I9f7d1b824b518fad1ef40726892cbfa3f816218e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user