Use push from script. Remove old readback and instant animation code.
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index 9360113..8f03402 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -1595,7 +1595,7 @@
}
void showAllApps() {
- mAllAppsGrid.zoom(1.0f, true);
+ mAllAppsGrid.zoom(1.0f);
//mWorkspace.hide();
// TODO: fade these two too
@@ -1605,7 +1605,7 @@
void closeAllApps(boolean animated) {
if (mAllAppsGrid.isVisible()) {
- mAllAppsGrid.zoom(0.0f, animated);
+ mAllAppsGrid.zoom(0.0f);
mWorkspace.getChildAt(mWorkspace.getCurrentScreen()).requestFocus();
// TODO: fade these two too