summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2017-02-17 13:11:53 -0800
committerEvan Rosky <erosky@google.com>2017-03-29 23:41:47 +0000
commitc46203785ce8def37a3f3e9c63eb8304bd3caa7b (patch)
tree0de6e18dc5557d2adcd958977eeab0ea82a3c20b /tools/aapt2/diff/Diff.cpp
parent84eecd253224ab5db12aa2640240054a6bda4982 (diff)
Allow ToolbarActionBar to pass-through unhandled keyShortcuts
It was consuming all keyShortcuts which broke system hotkeys like shift+tab. In order to prevent the decor/phonewindow from creating menus, this creates a dummy view in onCreatePanelView. This also includes a change to Activity to not send KEYCODE_TAB keystrokes to the defaulthandler. This was preventing keyboard navigation from working on any activity that had a default search fallback. Bug: 32482282 Bug: 18021345 Test: Added a CTS test (ToolbarTest#testKeyShortcuts) for toolbar keyShortcuts. Verified Tab-navigation works in Play Store. Change-Id: I5c732a2b21219157818bed49576debd20d5a8178 (cherry picked from commit b22faf524e9339fc1f17b8c2d8a59e2a02054cb1)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions