summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2023-04-19 02:57:12 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-04-19 02:57:12 +0000
commit1fcacc42d12f53e2c169b9b8d5265d493dac8162 (patch)
treebb6dbc47abad27c4c8585dc8c2db851157bc8521
parentcb40f6b503e16f4317e466e6e7d0cc7353457744 (diff)
parent2fea7d44dfe2d9fa4a8bfb409d7ab8af6bfe121d (diff)
Merge changes from topic "presubmit-am-e1291358894f4d2780fd24b49ec03274" into tm-qpr-dev-plus-aosp
* changes: [automerge] Fixes flicker of not applying initial transform to leash 2p: f91f797e5a Fixes flicker of not applying initial transform to leash
-rw-r--r--services/core/java/com/android/server/wm/SurfaceAnimationRunner.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/core/java/com/android/server/wm/SurfaceAnimationRunner.java b/services/core/java/com/android/server/wm/SurfaceAnimationRunner.java
index 1ae7816ecd24..51ace49fd50f 100644
--- a/services/core/java/com/android/server/wm/SurfaceAnimationRunner.java
+++ b/services/core/java/com/android/server/wm/SurfaceAnimationRunner.java
@@ -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 */);
}
}