commit | 7df4286a5d50bcd17a6c327b83027a6cbf6fb482 | [log] [tgz] |
---|---|---|
author | Joshua Tsuji <tsuji@google.com> | Fri Mar 22 15:54:31 2019 -0400 |
committer | Joshua Tsuji <tsuji@google.com> | Fri Mar 22 16:07:36 2019 -0400 |
tree | d6bd0d2b596236c654fb30d6197d98e492166e24 | |
parent | 81a29a19643ebf543deee714f709dc426529ac0f [diff] |
Ensure that removing/removed views can't affect chained animations. This is done by a) checking that indexOfChild >= 0 when chaining, since both transient and removed views will fail this test, and b) canceling animations on removed views. Fixes: 129142553 Test: Add 25 bubbles simultaneously and then cancel them all at the same time while some are still animating in. Change-Id: Idfa55e340debd6fb71d3dff6cd47223177f89555