diff options
| author | 2024-04-08 16:48:00 +0000 | |
|---|---|---|
| committer | 2024-05-01 08:06:31 +0000 | |
| commit | b7ff735dee0a5ca6d7d7fe04d4f07eff1cbaca89 (patch) | |
| tree | 613afd275a5d04a36bab18027635798675d35a59 /api/api.go | |
| parent | ff603f83dfd9ab9b9db695c20b375e6460bd7cbf (diff) | |
[3/n] Define OVERRIDE_MIN_ASPECT_RATIO_ONLY_FOR_CAMERA
Introduces the OVERRIDE_MIN_ASPECT_RATIO_ONLY_FOR_CAMERA
per app override to intentionally letterbox activities
while camera connection is open, to a more traditional
phone form factors (16:9 or split-screen) aspect ratio
depending on existing OVERRIDE_MIN_ASPECT_RATIO_*
overrides.
The existing PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE
can be used to allow to opt-out from this override.
Fix: 325586858
Test: atest WmTests:LetterboxUiControllerTest
Test: atest WmTests:ActivityRecordTests
Test: atest WmTests:DisplayRotationCompatPolicyTests
Test: atest WmTests:SizeCompatTests
Change-Id: Ib0f9a854372e35621345fbad60578c4238f54349
Merged-In: Ib0f9a854372e35621345fbad60578c4238f54349
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions