summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author helencheuk <helencheuk@google.com> 2024-11-27 19:49:28 +0000
committer helencheuk <helencheuk@google.com> 2024-11-27 20:15:58 +0000
commitd0aee4d9d1856004ae07f347d3249fb8fe88b746 (patch)
tree2867b981f8bd12b06c4d50f13acea40cf016c32d /libs/androidfw/misc.cpp
parentbb77d47c91b46494b1b1a63a5ca3bf56980a2442 (diff)
[Custom Key Glyph] Make display order of shortcuts the same before and after the flag is enabled
The order of shortcut is different because hardwareShortcuts is added before systemControlsShortcuts in SystemShortcutsSource. Issue: https://screenshot.googleplex.com/6u66SMThR5DSG2B Before and after fix: https://screenshot.googleplex.com/B39fjELbUfXPVeW This fix also sorts the shortcuts by key size ascendingly to display the function row keys (e.g. Home,back,overview key) first, same as before the flag is enabled. Bug: 376433516 Test: ShortcutHelperCategoriesInteractorTest Flag: com.android.systemui.shortcut_helper_key_glyph Change-Id: I851273a5433c2e5c3769e9c6d50a8f4d20e23e26
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions