summaryrefslogtreecommitdiff
path: root/tools/aapt/Command.cpp
diff options
context:
space:
mode:
author Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2023-09-20 19:50:53 +0000
committer Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2023-09-22 14:16:13 +0000
commite17d87347d611e52d022bbf246c933a2222a1ed7 (patch)
treecf3b2bfa8afc51368f2c42a51c2912e7be65539b /tools/aapt/Command.cpp
parent92210febda7b47c044870034daf1faa3f33935f9 (diff)
[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
Diffstat (limited to 'tools/aapt/Command.cpp')
0 files changed, 0 insertions, 0 deletions