diff options
| author | 2025-01-07 18:02:21 +0800 | |
|---|---|---|
| committer | 2025-01-08 03:14:52 -0800 | |
| commit | d0e3c3626e0c15fc05a2141cdeb374f618bae024 (patch) | |
| tree | 0600f7ac477068acd8001874323adede897b73b2 /libs/androidfw/ResourceTimer.cpp | |
| parent | e4046a28f899abfd82ef4f1a002eac28fce72f2b (diff) | |
Preventing release animation targets due to unsynchronize.
Users can start another animation by reuse existing animation targets
during post-commit animations while canceling a previous animation.
However, because RemoteAnimationFinishedStub can be called from a
binder call, access to these animation targets must be synchronized.
Secondly, since the animation targets remain the same until the
previous animation finishes, we can disregard any previous
RemoteAnimationFinishedStub calls if the animation controller has
already requested another animation.
Flag: EXEMPT bugfix
Bug: 386794627
Test: re-start back animation animation in post-commit, verify the
animation leashes won't be released before animation finish.
Change-Id: I44f16202f08f2ee4144621c55b1bf0e76ea3f815
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions