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

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

[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
parent 33158ac7
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