Merge "Remap accessing action bar shortcut to META+CTRL+TAB" into udc-qpr-dev
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java
index 4cbb040..6cc7e22 100644
--- a/core/java/android/view/ViewRootImpl.java
+++ b/core/java/android/view/ViewRootImpl.java
@@ -6967,7 +6967,7 @@
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;