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

Skip to content
Commit 1b8878fa authored by wilsonshih's avatar wilsonshih
Browse files

More stabilize predictive back animation.

The one way binder call may not invoke immediately, so it's also
possible that shell side received onAnimationStart after core has
canceled that animation. So in shell, validate the leashes of animation
targets before send it to runner, normally NavigationObserver should
receive cancel callback after that.

Also add the same check before send animation targets to shell, if
invalide, cancel the animation and notify onAnimationCancelled.

Bug: 327312316
Bug: 318294405
Test: simulate send invalidate animation targets to shell, verify it
won't crash systemui.

Change-Id: I4ffa8b6654806181763d6a58d2a748537675e030
parent a9b3adea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment