Merge "Fixes flicker of not applying initial transform to leash" into tm-qpr-dev

This commit is contained in:
Louis Chang
2023-04-19 02:57:12 +00:00
committed by Android (Google) Code Review

View File

@@ -220,11 +220,11 @@ class SurfaceAnimationRunner {
if (!mAnimationStartDeferred && mPreProcessingAnimations.isEmpty()) {
mChoreographer.postFrameCallback(this::startAnimations);
}
// Some animations (e.g. move animations) require the initial transform to be
// applied immediately.
applyTransformation(runningAnim, t, 0 /* currentPlayTime */);
}
// Some animations (e.g. move animations) require the initial transform to be
// applied immediately.
applyTransformation(runningAnim, t, 0 /* currentPlayTime */);
}
}