Clean up the VDM default virtual display flags.
1. Remove FLAG_PUBLIC to support private virtual displays on virtual devices 2. Remove FLAG_ROTATES_WITH_CONTENT to support fixed orientation displays 3. Remove FLAG_OWN_CONTENT_ONLY to be consistent with the default behavior in the system (respect AUTO_MIRROR flags) 4. Remove DESTROY_CONTENT_ON_REMOVAL to support app continuity. Only add it by default when the VD policy is to not show the streamed apps in recents. 5. Add TOUCH_FEEDBACK_DISABLED by default. Even when some touch feedback is required on the client device, it is the one injecting the touch, so it doesn't need this signal from the host. Bug: 292473307 Bug: 237730895 Bug: 291045570 Bug: 294837146 Test: atest android.virtualdevice.cts.VirtualDisplayTest Change-Id: Ie7a8d72a93138e5942164679688c94ee2af8bf3a
Loading
Please register or sign in to comment