mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Cancel existing preview item animation during non-animated update." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
81501a563c
@@ -269,6 +269,9 @@ public class PreviewItemManager {
|
||||
setDrawable(p, items.get(i));
|
||||
|
||||
if (!animate) {
|
||||
if (p.anim != null) {
|
||||
p.anim.cancel();
|
||||
}
|
||||
computePreviewItemDrawingParams(i, numItemsInFirstPagePreview, p);
|
||||
if (mReferenceDrawable == null) {
|
||||
mReferenceDrawable = p.drawable;
|
||||
|
||||
Reference in New Issue
Block a user