summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/AppsCustomizeTabHost.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2012-11-29 16:05:18 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-11-29 16:05:18 -0800
commit7e1820a7224c9b8726c1687924ff81dda20af5cc (patch)
tree360d2cf9ec65fdc28ea1b5d65a12438ba8ade345 /src/com/android/launcher2/AppsCustomizeTabHost.java
parent553e157a0f481b70c990e216b1c7b6a0a2b98610 (diff)
parentbeaa8a4d367ec14511fe6560e2103a3f7fb9d2ad (diff)
downloadandroid_packages_apps_Trebuchet-7e1820a7224c9b8726c1687924ff81dda20af5cc.tar.gz
android_packages_apps_Trebuchet-7e1820a7224c9b8726c1687924ff81dda20af5cc.tar.bz2
android_packages_apps_Trebuchet-7e1820a7224c9b8726c1687924ff81dda20af5cc.zip
am beaa8a4d: am ab9dce32: am 7819abd2: Fixing issue where the cling is offset. (Bug 7633074)
* commit 'beaa8a4d367ec14511fe6560e2103a3f7fb9d2ad': Fixing issue where the cling is offset. (Bug 7633074)
Diffstat (limited to 'src/com/android/launcher2/AppsCustomizeTabHost.java')
-rw-r--r--src/com/android/launcher2/AppsCustomizeTabHost.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/com/android/launcher2/AppsCustomizeTabHost.java b/src/com/android/launcher2/AppsCustomizeTabHost.java
index 19bc6827f..5eb848306 100644
--- a/src/com/android/launcher2/AppsCustomizeTabHost.java
+++ b/src/com/android/launcher2/AppsCustomizeTabHost.java
@@ -418,11 +418,9 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
}
if (!toWorkspace) {
- // Going from Workspace -> All Apps
- setVisibilityOfSiblingsWithLowerZOrder(INVISIBLE);
-
- // Dismiss the workspace cling and show the all apps cling (if not already shown)
+ // Dismiss the workspace cling
l.dismissWorkspaceCling(null);
+ // Show the all apps cling (if not already shown)
mAppsCustomizePane.showAllAppsCling();
// Make sure adjacent pages are loaded (we wait until after the transition to
// prevent slowing down the animation)
@@ -431,6 +429,11 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
if (!LauncherApplication.isScreenLarge()) {
mAppsCustomizePane.hideScrollingIndicator(false);
}
+
+ // Going from Workspace -> All Apps
+ // NOTE: We should do this at the end since we check visibility state in some of the
+ // cling initialization/dismiss code above.
+ setVisibilityOfSiblingsWithLowerZOrder(INVISIBLE);
}
}