More changes to improve memory usage during rotation

This commit is contained in:
Patrick Dubroy committed 2011-01-16 17:19:32 -08:00
1 parent 1619ccfce4
commit 60b7c53ccc
2 files changed
+4

No files matched your search

+2
View File
@@ -287,6 +287,7 @@ public class Workspace extends SmoothPagedView
mDrawCustomizeTrayBackground = false;
}
enableCacheUpdates();
mAnimator = null;
}
};
mShrinkAnimationListener = new AnimatorListenerAdapter() {
@@ -297,6 +298,7 @@ public class Workspace extends SmoothPagedView
@Override
public void onAnimationEnd(Animator animation) {
enableCacheUpdates();
mAnimator = null;
}
};
mSnapVelocity = 600;