Revert "Remap accessing action bar shortcut to META+CTRL+TAB"

Revert submission 23374698-update_meta_ctrl_shortcut

Reason for revert: This fix is problematic
1. The logic in ViewRootImpl uses CTRL+TAB in the latest patch. CTS test is probably unrelated to the change in ViewRootImpl.
2. Since this should be fixed in UDC (a cherry pick is in flight), will try to find a fix in the next few days in udc

Fix forward: ag/23407268

Reverted changes: /q/submissionid:23374698-update_meta_ctrl_shortcut

Change-Id: I98e0e1a7bd25ff961b1766857bb5eeb95d5fd9e9
This commit is contained in:
Tracy Zhou
2023-05-24 04:59:27 +00:00
parent 2a5502da79
commit a6f19d86f0

View File

@@ -6967,7 +6967,7 @@ public final class ViewRootImpl implements ViewParent,
int groupNavigationDirection = 0;
if (event.getAction() == KeyEvent.ACTION_DOWN && event.isCtrlPressed()
if (event.getAction() == KeyEvent.ACTION_DOWN
&& event.getKeyCode() == KeyEvent.KEYCODE_TAB) {
if (KeyEvent.metaStateHasModifiers(event.getMetaState(), KeyEvent.META_CTRL_ON)) {
groupNavigationDirection = View.FOCUS_FORWARD;