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

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

Merge "Make ChipAnimatorAdapter check dot state when setting endstate" into sc-dev

parents 0fc93aa2 a335a46c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -315,7 +315,11 @@ class SystemStatusAnimationScheduler @Inject constructor(
    ) : AnimatorListenerAdapter() {
        override fun onAnimationEnd(p0: Animator?) {
            chipAnimationController.onChipAnimationEnd(animationState)
            animationState = endState
            animationState = if (endState == SHOWING_PERSISTENT_DOT && !hasPersistentDot) {
                IDLE
            } else {
                endState
            }
        }

        override fun onAnimationStart(p0: Animator?) {