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

Skip to content
Commit b7ff735d authored by Massimo Carli's avatar Massimo Carli
Browse files

[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
parent ff603f83
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