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

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

Merge "Adding logs to find which call is responsible for the animation error" into main

parents 94c4dbfb 7f951814
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import android.animation.AnimatorSet;
import android.content.Context;
import android.os.Handler;
import android.os.RemoteException;
import android.util.Log;
import android.view.IRemoteAnimationFinishedCallback;
import android.view.RemoteAnimationTarget;

@@ -196,6 +197,7 @@ public class LauncherAnimationRunner extends RemoteAnimationRunnerCompat {
                if (skipFirstFrame) {
                    // Because t=0 has the app icon in its original spot, we can skip the
                    // first frame and have the same movement one frame earlier.
                    Log.d("b/311077782", "LauncherAnimationRunner.setAnimation");
                    mAnimator.setCurrentPlayTime(
                            Math.min(getSingleFrameMs(context), mAnimator.getTotalDuration()));
                }
+1 −0
Original line number Diff line number Diff line
@@ -773,6 +773,7 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
        addAnimationStartListeners(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.
        Log.d("b/311077782", "Folder.animateOpen");
        anim.setCurrentPlayTime(Math.min(getSingleFrameMs(getContext()), anim.getTotalDuration()));
        anim.start();