summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2017-07-02 01:22:47 (GMT)
committerArne Coucheron <arco68@gmail.com>2017-12-15 05:27:55 (GMT)
commit7a8a031e8f63edf04f7dbcbbe668ccc54a4db4f2 (patch)
treeb217a5e43114a2683480a3a509119187c49f34dd
parent6c88e78ced7b0c09c62029e229a71e73e9ba8aa7 (diff)
downloadandroid_packages_apps_Trebuchet-7a8a031e8f63edf04f7dbcbbe668ccc54a4db4f2.zip
android_packages_apps_Trebuchet-7a8a031e8f63edf04f7dbcbbe668ccc54a4db4f2.tar.gz
android_packages_apps_Trebuchet-7a8a031e8f63edf04f7dbcbbe668ccc54a4db4f2.tar.bz2
Don't request button focus when pressing menu key
1. Press hardware menu key 2. Press hardware back key or home key 3. Observe transparent block I consider this an annoying glitch, and this patch fixes it. Change-Id: I2b0be3999cfbe6f35c485984efff564b1478cdbc
-rw-r--r--src/com/android/launcher3/Launcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 32af059..c8d3af6 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -1221,7 +1221,7 @@ public class Launcher extends BaseActivity
if (mState == State.WORKSPACE && !mWorkspace.isInOverviewMode() &&
!mWorkspace.isSwitchingState()) {
mOverviewPanel.requestFocus();
- showOverviewMode(true, true /* requestButtonFocus */);
+ showOverviewMode(true, false /* requestButtonFocus */);
}
}
return true;