commit | 72d6e4facb1abd81809fdaddbe42f41ad885189c | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Fri Nov 21 14:10:10 2014 -0800 |
committer | John Reck <jreck@google.com> | Fri Nov 21 14:27:21 2014 -0800 |
tree | 50b40f0469131c33c8e3d77cd7045860c4298d6c | |
parent | 08229e817ecb67b0c7ebbd6b5b9ce4aef1b38cc2 [diff] |
It's super critical to call nStart Bug: 18204974 Even if we are canceling or ending an animation nStart() *must* be called, otherwise the native-side listener is not attached (lazy-attached for JNI cyclic reference reasons), and then Animator::callOnFinishedListener() no-ops as there's no listener set Add a lifecycle verifier to ensure that nStart is always called on animators that are attached and get finished Change-Id: Ibc345b5be97b6d3f95a11c361ebe020d030fd3b6