Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fcacc42 authored by Louis Chang's avatar Louis Chang Committed by Android (Google) Code Review
Browse files

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: f91f797e
  Fixes flicker of not applying initial transform to leash
parents cb40f6b5 2fea7d44
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -220,13 +220,13 @@ 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 */);
        }
    }
    }

    private boolean requiresEdgeExtension(AnimationSpec a) {
        return a.asWindowAnimationSpec() != null && a.asWindowAnimationSpec().hasExtension();