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.removeAllViews();
|
||||||
mWorkspace = null;
|
mWorkspace = null;
|
||||||
mDragController = null;
|
mDragController = null;
|
||||||
|
|
||||||
|
ValueAnimator.clearAllAnimations();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -287,6 +287,7 @@ public class Workspace extends SmoothPagedView
|
|||||||
mDrawCustomizeTrayBackground = false;
|
mDrawCustomizeTrayBackground = false;
|
||||||
}
|
}
|
||||||
enableCacheUpdates();
|
enableCacheUpdates();
|
||||||
|
mAnimator = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
mShrinkAnimationListener = new AnimatorListenerAdapter() {
|
mShrinkAnimationListener = new AnimatorListenerAdapter() {
|
||||||
@@ -297,6 +298,7 @@ public class Workspace extends SmoothPagedView
|
|||||||
@Override
|
@Override
|
||||||
public void onAnimationEnd(Animator animation) {
|
public void onAnimationEnd(Animator animation) {
|
||||||
enableCacheUpdates();
|
enableCacheUpdates();
|
||||||
|
mAnimator = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
mSnapVelocity = 600;
|
mSnapVelocity = 600;
|
||||||
|
|||||||
Reference in New Issue
Block a user