Merge "Make ChipAnimatorAdapter check dot state when setting endstate" into sc-dev am: 9a0152a05a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14774821 Change-Id: I5b6367d0b38207c4946104c02c645a36b6f8e726
This commit is contained in:
@@ -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?) {
|
||||
|
||||
Reference in New Issue
Block a user