diff options
| author | 2017-02-17 13:11:53 -0800 | |
|---|---|---|
| committer | 2017-03-15 13:41:34 -0700 | |
| commit | b22faf524e9339fc1f17b8c2d8a59e2a02054cb1 (patch) | |
| tree | 40fa762ddd4423e7039e9480692d219927739170 /libs/hwui/ProgramCache.cpp | |
| parent | 082d21c13d227f8bb914825edb97ac2e7cea1ab6 (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
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions