commit | 2d53bb2d9abf5d740bd8e4fbe11f87704de3bbd1 | [log] [tgz] |
---|---|---|
author | xi yu <yuxi1@xiaomi.com> | Mon Jun 20 13:50:41 2022 +0000 |
committer | xi yu <yuxi1@xiaomi.com> | Mon Jul 11 06:43:43 2022 +0000 |
tree | 4fc084e07a73114c7608f580055dc8f4651be25a | |
parent | eb681f393e2d0bf867e0fc21a779076802d506ce [diff] |
[Bugfix][RemoteAnimation] Fix IndexOutOfBoundsException in onAnimationFinished of RemoteAnimationController Sometimes mPendingAnimations.remove will be called more than once in one cycle (line 255 - 270) of onAnimationFinished, e.g., mPendingAnimations.remove being called again in adapters.mAdapter.mCapturedFinishCallback.onAnimationFinished, resulting in IndexOutOfBoundsException. Bug:237989368 Change-Id: Ica771f1ae4cb4ddddb7684bd964504ca9f31ea12 Test: Monkey test