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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22562947

Change-Id: I3c439214b2ccafdcf6d7dd39ea1460fa54a0f4a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Louis Chang
2023-04-17 05:30:40 +00:00
committed by Automerger Merge Worker

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 */);
}
}