More changes to improve memory usage during rotation

This commit is contained in:
Patrick Dubroy
2011-01-16 17:19:32 -08:00
parent 1619ccfce4
commit 60b7c53ccc
2 changed files with 4 additions and 0 deletions
+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;