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

Skip to content
Commit e17d8734 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

[3/n] Optimize user aspect ratio button heuristic

If `updateCompatInfo` is called while the user aspect ratio button is
showing, the buton will be removed as we no longer consider the layout
to have a button as it has already been shown.

Update `getHasUserAspectRatioSettingsButton` so the layout is consider
to have a button for the duration the button is visible and only once
the button has been shown and timed out, will the layout be considered
to not have a button.

Test: atest WMShellUnitTests:UserAspectRatioSettingsWindowManagerTest
Bug: 301323072
Bug: 289356588
Change-Id: Ie4be836d52b74e285a501a799094022be24870fe
parent 92210feb
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