summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppsCustomizeTabHost.java
diff options
context:
space:
mode:
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);