commit | 2ef1d0cfca010b398fef5b6ee242c110a823bb95 | [log] [tgz] |
---|---|---|
author | Peeyush Agarwal <apeeyush@google.com> | Mon Mar 06 17:03:58 2017 +0000 |
committer | Peeyush Agarwal <apeeyush@google.com> | Tue Mar 07 16:48:00 2017 +0000 |
tree | 79db4c69d3e1805c93a5bb005356a5457fc6a6d7 | |
parent | c7eefdbda7864c71f2bc1845e83d9a21aa10c338 [diff] |
Store alphaChar as lower case in MenuItem's implementations We should be working with lowercase everywehre (since SHIFT is also a modifier). Also, in findItemsWithShortcutForKey, we only compare the character against the lower case version of key pressed (and not the upper case version). Bug: 35992521 Test: Manual Change-Id: I01f24afc5f6c9ef55d477806a64a4a1ec262f28a