Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9cc7ea6 authored by Sebastián Franco's avatar Sebastián Franco Committed by Android (Google) Code Review
Browse files

Merge "Set start time for open folder animation before starting the animation" into udc-dev

parents 9cba6b67 57fc157e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -733,10 +733,11 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
        }

        mPageIndicator.stopAllAnimations();
        startAnimation(anim);

        // Because t=0 has the folder match the folder icon, we can skip the
        // first frame and have the same movement one frame earlier.
        anim.setCurrentPlayTime(Math.min(getSingleFrameMs(getContext()), anim.getTotalDuration()));
        startAnimation(anim);

        // Make sure the folder picks up the last drag move even if the finger doesn't move.
        if (mDragController.isDragging()) {