Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Dear Android Teams:
I found a bug in AniamtorSet ValueAnimator and ObjectAnimator. That's lead to Animator.onAnimationEnd() not called in some case. I upload my sample codes and you can check it.
Device: Android 14 emulator.
Steps to Reproduce or Code Sample to Reproduce:
Stack trace (if applicable):
I found when animation playing. If the ObjectAnimation's target becomes to null. The animation will ends in animateValue(). But the animateBasedOnTime() does not cover this case.
So the animation already ended but the animator not realize it. That's make this bug happened.
I have proposed a method to fix this bug.
Do you agree with my point of view? If there is anything I haven't considered, please let me know. Thank you.