diff options
author | Adrian Roos <roosa@google.com> | 2020-05-26 21:25:15 +0200 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2020-05-26 21:26:25 +0200 |
commit | a79b8851f71134277a1ab1fc5631d4d1a0bef044 (patch) | |
tree | 2e0587511077d7d40cbb8b6ab0e11d3690ae438a /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | b0033693a89923a80f9973e41b45ddcef2ec7ae9 (diff) |
InsetsController: Add missing onWindowInsetsAnimationEnd when cancelling
Fixes a few issues around cancelling insets animations:
- dispatch the onEnd callback when the animation gets cancelled
- When using the CancellationSignal, we need to properly cancel the
animation, and not just the controller - otherwise we never actually
remove it from mRunningAnimations.
- Now that cancellation dispatches to apps, make sure they do not
restart a different animation of the same type we just cancelled
Bug: 156740834
Test: atest WindowInsetsAnimationControllerTests
Change-Id: I4c36470a816ff8e3b92cd03090b8e947a2234f13
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions