[automerge] Fixes flicker of not applying initial transform to leash 2p: f91f797e5a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22566037 Bug: 277169255 Change-Id: Id28916d2643dba13b162a09bb488d0f2f947ef17 Merged-In: I11cc741cac0147b080985351b8e66d53b370289c
This commit is contained in:
@@ -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 */);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user