VDM interactive screen mirroring
- Allow VDM to create auto mirror virtual displays: It would be up to the caller to pass the appropriate flags to VirtualDevice#createVirtualDisplay to create an auto-mirror virtual display, following the exact semantics as DisplayManager#createVirtualDisplay, i.e., either pass VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR explicitly or pass VIRTUAL_DISPLAY_FLAG_PUBLIC, without VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY in either case. - VDM supports mirroring only the default display, and any mirror display is put into the default display group. - Launching presentations or activities are not allowed on any mirror display created by a virtual device. - VIRTUAL_DISPLAY_ALWAYS_UNLOCKED flag is not set for any mirror display. Test: atest DisplayManagerServiceTest, VirtualDeviceManagerServiceTest Bug: 292212199 Change-Id: I3f65f1f19bd44aba278531308822c05da956f700
Loading
Please register or sign in to comment