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

Skip to content
Commit 00343c66 authored by Vladimir Komsiyski's avatar Vladimir Komsiyski
Browse files

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
parent 7f7a3e1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment