diff options
| author | 2024-10-31 19:22:48 +0000 | |
|---|---|---|
| committer | 2024-11-25 13:19:41 +0000 | |
| commit | 298083efb047870f6c86f0cd05cea93142c85eb9 (patch) | |
| tree | e4d4dd04848ff7dc62bb6559290d23f037b3208a /libs/androidfw/FileStream.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions