From 3d41198024fd5f27f84c9966683ca12333e370ae Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Tue, 24 Sep 2013 17:02:06 -0700 Subject: Fix issue where overview panel was taking clicks because it was visible (issue 10732462) Change-Id: Ie75f9237203d3c2bd147f72d1e860ddcaff53ed9 --- src/com/android/launcher3/AppsCustomizeTabHost.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com/android/launcher3/AppsCustomizeTabHost.java') 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); -- cgit v1.2.3