Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a5502da authored by Tracy Zhou's avatar Tracy Zhou
Browse files

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
parent ca895025
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;