diff options
author | Peeyush Agarwal <apeeyush@google.com> | 2016-10-19 11:41:42 +0100 |
---|---|---|
committer | Peeyush Agarwal <apeeyush@google.com> | 2017-02-07 17:01:26 +0000 |
commit | e631e32a1a771a36267af3f8af8b64e9365bc19e (patch) | |
tree | 86a587c27ac36893f84027beb70bedd8313d2eae /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 155c3a88ac6e6b690fb3324054abfcc8095e9cc3 (diff) |
Extend MenuItem to allow modifier keys for shortcut
Before this, CTRL was the default modifier for MenuItem shortcuts.
Now, It's possible to specify the modifier in XML or via MenuItem
methods.
The modifier list includes META, CTRL, ALT, SHIFT, SYM and FUNCTION.
WIP on support library implementation
Bug: 32165848
Test: Run the tests using following commands:
> cts-tradefed run cts-dev -m CtsViewTestCases -t
> android.view.cts.MenuTest#testPerformShortcut
> cts-tradefed run cts-dev -m CtsViewTestCases -t
> android.view.cts.MenuInflaterTest#testInflateShortcutModifiersFromXml
Change-Id: I7db4607d4657451934761914efe4c250de109653
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions