Fix virtual display cannot be relased.
Bug:238368970
1. IMediaProjectionCallback#onStop to release virtual display and
remove mVirtualDisplayDevices.
2. DisplayManagerService#releaseVirtualDisplayInternal cannot remove display device due to null mVirtualDisplayDevices.
Signed-off-by: linkai <linkai@xiaomi.com>
Change-Id: Idb3f4aabe894b17a9681dae9f1028bd44ac36f1e
Loading
Please register or sign in to comment