summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2017-07-02 01:22:47 (GMT)
committerArne Coucheron <arco68@gmail.com>2017-07-15 04:51:06 (GMT)
commite015f4a81c44442d2f6901d14363fe7000763fd0 (patch)
treedd364c2ea2b7f1a27ed072716ff881540c9f0d75
parentdcb95f23460ec5d96b9ae82a8543a7fd05c856bc (diff)
downloadandroid_packages_apps_Trebuchet-e015f4a81c44442d2f6901d14363fe7000763fd0.zip
android_packages_apps_Trebuchet-e015f4a81c44442d2f6901d14363fe7000763fd0.tar.gz
android_packages_apps_Trebuchet-e015f4a81c44442d2f6901d14363fe7000763fd0.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 15ba43d..44acba0 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -1240,7 +1240,7 @@ public class Launcher extends Activity
if (mState == State.WORKSPACE && !mWorkspace.isInOverviewMode() &&
!mWorkspace.isSwitchingState()) {
mOverviewPanel.requestFocus();
- showOverviewMode(true, true /* requestButtonFocus */);
+ showOverviewMode(true, false /* requestButtonFocus */);
}
}
return true;