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:
commit
b018ea34fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue