summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppsCustomizeTabHost.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2013-09-24 17:02:06 -0700
committerAdam Cohen <adamcohen@google.com>2013-09-24 17:02:49 -0700
commit3d41198024fd5f27f84c9966683ca12333e370ae (patch)
treec52b5d74f0d61a948f6c68fb48f719c974deeddd /src/com/android/launcher3/AppsCustomizeTabHost.java
parent6a678da1d8cfc7f72ff30f3d27720352d4e466e6 (diff)
downloadandroid_packages_apps_Trebuchet-3d41198024fd5f27f84c9966683ca12333e370ae.tar.gz
android_packages_apps_Trebuchet-3d41198024fd5f27f84c9966683ca12333e370ae.tar.bz2
android_packages_apps_Trebuchet-3d41198024fd5f27f84c9966683ca12333e370ae.zip
Fix issue where overview panel was taking clicks because it was visible (issue 10732462)
Change-Id: Ie75f9237203d3c2bd147f72d1e860ddcaff53ed9
Diffstat (limited to 'src/com/android/launcher3/AppsCustomizeTabHost.java')
-rw-r--r--src/com/android/launcher3/AppsCustomizeTabHost.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/AppsCustomizeTabHost.java b/src/com/android/launcher3/AppsCustomizeTabHost.java
index 89e74b218..f034183e0 100644
--- a/src/com/android/launcher3/AppsCustomizeTabHost.java
+++ b/src/com/android/launcher3/AppsCustomizeTabHost.java
@@ -439,6 +439,7 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
ViewGroup parent = (ViewGroup) getParent();
if (parent == null) return;
+ View overviewPanel = ((Launcher) getContext()).getOverviewPanel();
final int count = parent.getChildCount();
if (!isChildrenDrawingOrderEnabled()) {
for (int i = 0; i < count; i++) {
@@ -446,7 +447,7 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
if (child == this) {
break;
} else {
- if (child.getVisibility() == GONE) {
+ if (child.getVisibility() == GONE || child == overviewPanel) {
continue;
}
child.setVisibility(visibility);