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

Commit 2aa8699d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Make ChipAnimatorAdapter check dot state when setting endstate" into...

Merge "Make ChipAnimatorAdapter check dot state when setting endstate" into sc-dev am: 9a0152a0 am: 731b86f1 am: 020dd249

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

Change-Id: Icf0cc8e6daf1df7a8b69b923b9eb568d924f6452
parents a6c88ea9 020dd249
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?) {