commit | 29721a13196391e79c90dd0cb0f5de591697d46b | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Mon Jun 21 21:34:51 2021 +0200 |
committer | Adrian Roos <roosa@google.com> | Mon Jun 21 21:34:51 2021 +0200 |
tree | bb9d3ece0031c8d87c11bb10a3b14f40cc86f336 | |
parent | 90b85f3e7b736facf5d2620cbc3f1caea9a87b4f [diff] |
Insets Animations: Always dispatch onEnd when cancelled Previously, we only dispatched onEnd if onStart was already dispatched. However, some animations might get cancelled after onPrepare but before onStart. In that case, it is rather tricky for apps to actually cancel the animation. Now we always dispatch onEnd if onPrepare has been dispatched already. Fixes: 177983907 Test: atest WindowInsetsAnimationControllerTests Change-Id: I3fa142110bd5593679f87561c138ed3318034fca