commit | f3a0ee5c848da0f8cb57b42991e21ec2dad3b2d4 | [log] [tgz] |
---|---|---|
author | Sally Qi <sallyqi@google.com> | Fri Mar 15 13:07:40 2024 -0700 |
committer | Sally Qi <sallyqi@google.com> | Fri Mar 15 17:15:54 2024 -0700 |
tree | e9a24175004705d73da6619f952b067ae1287a98 | |
parent | 370ec60a11a07d9dfc4ff8df8694d506de6644c0 [diff] |
Fix the crash in AnimatorManager. If we have >1 mAnimators and also the animator target changes, `onAnimatorTargetChanged` function will erase mAnimators vector, while in AnimatorManager::pushStaging, the process still does the loop for mAnimators. Thus the crash happens. Bug: 327666562 Test: n/a Change-Id: I928185a2654b49660e226dcc89a2bc116cec870f