am bb1d1319: Merge "More changes to improve memory usage during rotation" into honeycomb
* commit 'bb1d1319f202ccda89c03c5b9c972d5d91a04995': More changes to improve memory usage during rotation
This commit is contained in:
@@ -1521,6 +1521,8 @@ public final class Launcher extends Activity
|
||||
mWorkspace.removeAllViews();
|
||||
mWorkspace = null;
|
||||
mDragController = null;
|
||||
|
||||
ValueAnimator.clearAllAnimations();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user