Merge "Snap to destination page before animating folder close." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1536248f3d
@@ -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