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

Commit 76810f44 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove DynamicAnimation when it ends." into rvc-dev

parents 115a8293 6ed2c410
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
    }