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

Commit ecf6cb34 authored by Louis Chang's avatar Louis Chang Committed by Automerger Merge Worker
Browse files

Merge "Fixes flicker of not applying initial transform to leash" into udc-dev...

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

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



Change-Id: I3e7f594b6fcc055165275001431b4a53b60a62af
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1802f7c8 280f0a3f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -221,13 +221,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();