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

This commit is contained in:
Louis Chang
2023-04-17 04:59:53 +00:00
committed by Android (Google) Code Review

View File

@@ -221,11 +221,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 */);
}
}