diff options
| author | 2023-06-19 17:03:28 +0000 | |
|---|---|---|
| committer | 2023-08-15 08:21:04 +0000 | |
| commit | 17b28d345e50acad5500ded93d43f1afc463b3e5 (patch) | |
| tree | 5dc271b1ff2463a5806f02f386253a6d3cc80997 /libs/androidfw/ObbFile.cpp | |
| parent | 33158ac73957dbb2911f6d6fc2df8c52546a5947 (diff) | |
[4/n] Add User Aspect Ratio Button
Adds the compat ui button which allows users to reach the app info
page in settings and change the aspect ratio for a selected app.
When the feature is enabled, the button appears every time the app is
launched and when TaskInfo.topActivityEligibleForUserAspectRatioButton
and TaskInfo.topActivityBoundsLetterboxed are both true.
The icons appears after a short interval and disappears after 4 seconds.
Fix: 287460588
Test: `atest WMShellUnitTests:UserAspectRatioSettingsWindowManagerTest`
`atest WMShellUnitTests:UserAspectRatioSettingsLayoutTest`
`atest WMShellUnitTests:CompatUIControllerTest`
`atest WMShellUnitTests:ReachabilityEduWindowManagerTest`
`atest WmTests:LetterboxUiControllerTest`
Change-Id: If1ed5442359b0bc3f352d3b2f9678a5921c73114
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions