diff options
| author | 2023-01-16 02:34:36 +0000 | |
|---|---|---|
| committer | 2023-01-25 21:12:19 +0000 | |
| commit | fdcb4c9fd47712d7ce4cc8c939aaf5ca71e6a8c3 (patch) | |
| tree | ad5f86cd20dbaa24af03e3ad63ccba9eba576f6e /libs/androidfw/ApkParsing.cpp | |
| parent | 6f20d51b7a83d9c185943019f7494d76051c0577 (diff) | |
Add orientation per-app controls.
Overrides for device manufacturers:
- OVERRIDE_UNDEFINED_ORIENTATION_TO_PORTRAIT override orientation to SCREEN_ORIENTATION_PORTRAIT
- OVERRIDE_UNDEFINED_ORIENTATION_TO_NOSENSOR override orientation to SCREEN_ORIENTATION_NOSENSOR
- OVERRIDE_LANDSCAPE_ORIENTATION_TO_REVERSE_LANDSCAPE override orientation to SCREEN_ORIENTATION_REVERSE_LANDSCAPE
- OVERRIDE_ANY_ORIENTATION allows OVERRIDE_*_ORIENTATION_TO_* to override any orientation.
PROPERTY_COMPAT_ALLOW_ORIENTATION_OVERRIDE allows app developers to opt-out from per-app overrides above.
Test: atest WmTests:LetterboxUiControllerTest
Fix: 255940284, 265452344, 265451093, 265464455, 266124927
Merged-In: I6d83170632a04e3d60461f37f13acc1de5b6a6cb
Change-Id: I6d83170632a04e3d60461f37f13acc1de5b6a6cb
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions