summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2017-02-17 13:11:53 -0800
committer Evan Rosky <erosky@google.com> 2017-03-29 23:41:47 +0000
commitc46203785ce8def37a3f3e9c63eb8304bd3caa7b (patch)
tree0de6e18dc5557d2adcd958977eeab0ea82a3c20b /libs/hwui/ProgramCache.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 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions