[2/n] API to ignore activity size restrictions on virtual display

Adds an API for privileged actors with CREATE_VIRTUAL_DEVICE permission
to force app to full-screen on their virtual displays by ignoring fixed
orientation, aspect ratio and resizability of apps.

Large screen-specific app compat overrides will not apply to apps on
eligible virtual displays when this treatment is applied. This treatment
will be contained within the virtual displays of the virtual device.
User fullscreen override applied from Settings > App info > Aspect ratio
(experimental) will also not affect apps within the virtual display.

Developers can opt out of this treatment by setting
PROPERTY_COMPAT_ALLOW_ORIENTATION_OVERRIDE to false in their manifest.

Flag: com.android.window.flags.vdm_force_app_universal_resizable_api
Bug: 372848702
Bug: 337894172
Test: atest AppCompatAspectRatioOverridesTest
Change-Id: I893dd477594dac51b3b5882860a8d84df4778950
12 files changed