Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d5856c2 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Ensure the deferred callback does not finish next animation

This fixes the timing that another animation is starting and the
previous deferred onFinished callback is invoked after that. It
will cause the next animation to use the released leash and then
crashes in onAnimationStart or onAnimationUpdate.

Bug: 124303221
Test: atest SurfaceAnimatorTest#testDeferFinishDoNotFinishNextAnimation

Change-Id: Ia04b8433ed6f9a9d88295b4986a5063c2271ca80
parent aecff3d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment