Remap accessing action bar shortcut to META+CTRL+TAB
- Now META+TAB is mapped to launching overview - We need a different shortcut for moving focus forward or backward Bug: 261998942 Test: presubmit Change-Id: I6be2058070e22c7a1c8b100307409061a13dc8ae
This commit is contained in:
@@ -6967,7 +6967,7 @@ public final class ViewRootImpl implements ViewParent,
|
||||
|
||||
int groupNavigationDirection = 0;
|
||||
|
||||
if (event.getAction() == KeyEvent.ACTION_DOWN
|
||||
if (event.getAction() == KeyEvent.ACTION_DOWN && event.isCtrlPressed()
|
||||
&& event.getKeyCode() == KeyEvent.KEYCODE_TAB) {
|
||||
if (KeyEvent.metaStateHasModifiers(event.getMetaState(), KeyEvent.META_CTRL_ON)) {
|
||||
groupNavigationDirection = View.FOCUS_FORWARD;
|
||||
|
||||
Reference in New Issue
Block a user