mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Merge "Cancel existing preview item animation during non-animated update." into sc-dev am: 81501a563c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15164771 Change-Id: I2315f7c54cb98c32f2318ded19f7563f3709cb42
This commit is contained in:
@@ -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