commit | 298083efb047870f6c86f0cd05cea93142c85eb9 | [log] [tgz] |
---|---|---|
author | helencheuk <helencheuk@google.com> | Thu Oct 31 19:22:48 2024 +0000 |
committer | helencheuk <helencheuk@google.com> | Mon Nov 25 13:19:41 2024 +0000 |
tree | e4d4dd04848ff7dc62bb6559290d23f037b3208a | |
parent | b0ec332312fcbec34d830d449f9574a08f0b852f [diff] |
[Custom Key Glyph] Show function row keys according to key glyph 1. Get shortcut sources from keyboard key glyph map, only show function row keys if the map contains it 2. Add hardware defined shortcuts to the Shortcut source so they will be displayed in shortcut helper. Testing result: No function row key for keyboard that does not have key glyph: https://screenshot.googleplex.com/Ak6oZGzSWJDSRXr Show hardware defined shortcut if any: https://screenshot.googleplex.com/5TBevsyNDtoLjaX Bug: 376433516 Test: SystemShortcutsSourceTest Test: InputShortcutsSourceTest Flag: com.android.systemui.shortcut_helper_key_glyph Change-Id: I8991a9ff33fa6bd06fef4781cc3474c75d3d0bdf