Merge "Fixes flicker of not applying initial transform to leash" into tm-qpr-dev
This commit is contained in:
@@ -220,11 +220,11 @@ class SurfaceAnimationRunner {
|
|||||||
if (!mAnimationStartDeferred && mPreProcessingAnimations.isEmpty()) {
|
if (!mAnimationStartDeferred && mPreProcessingAnimations.isEmpty()) {
|
||||||
mChoreographer.postFrameCallback(this::startAnimations);
|
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