Merge "Snap to destination page before animating folder close." into sc-dev am: 1536248f3d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13899901 Change-Id: Ifd418dfb534b09ff46a83e8a9f97ee7ba2021dc3
This commit is contained in:
@@ -745,6 +745,10 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
|
||||
if (mIsAnimatingClosed) {
|
||||
return;
|
||||
}
|
||||
|
||||
mContent.completePendingPageChanges();
|
||||
mContent.snapToPageImmediately(mContent.getDestinationPage());
|
||||
|
||||
if (mCurrentAnimator != null && mCurrentAnimator.isRunning()) {
|
||||
mCurrentAnimator.cancel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user