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

Commit 6e187c44 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Remove DynamicAnimation when it ends." into rvc-dev am: 76810f44 am: f724b598

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

Change-Id: I8b4bfc8dd53ea695c6b46baa0f0f2d9ddb4697c6
parents 3a0048b6 f724b598
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -644,6 +644,12 @@ class PhysicsAnimator<T> private constructor (target: T) {
                it.onInternalAnimationEnd(
                        property, canceled, value, velocity, anim is FlingAnimation)
            }
            if (springAnimations[property] == anim) {
                springAnimations.remove(property)
            }
            if (flingAnimations[property] == anim) {
                flingAnimations.remove(property)
            }
        }
        return anim
    }