commit | d842533f224280484839b77d016c2e8da697a0ed | [log] [tgz] |
---|---|---|
author | Vladislav Kaznacheev <kaznacheev@google.com> | Mon Feb 26 15:02:59 2018 -0800 |
committer | Arthur Hsu <arthurhsu@google.com> | Mon Mar 12 17:53:57 2018 -0700 |
tree | ae8a8110997d8a36484ce807b9fdbedd5e18f23b | |
parent | 2b83982b2b8a0e2772a0f44def8007f274cb8376 [diff] |
Display shortcut modifiers in menu Prepend relevant meta key names (such as Ctrl+) to the shortcut displayed in a menu. Do not prepend "Menu+" if the device does not have a hardware Menu key. Bug: 31045453 Test: run ApiDemos (MenuInflateFromXml), select "Shortcuts", observe Ctrl+ prepended to shortcuts. Change-Id: I1a38bd1baf069dd1adb24a26f89c6db6390b8b8d (cherry picked from commit 0cc2c6b190695ef78029c7b05a175fb3bb7e4098)