commit | 7fb80f7d277bcde8a685088b97f52a39be567c7c | [log] [tgz] |
---|---|---|
author | Philip Quinn <pquinn@google.com> | Mon May 15 09:44:30 2017 -0700 |
committer | Philip Quinn <pquinn@google.com> | Mon May 15 21:36:30 2017 +0000 |
tree | 9a82f3869319bc953c1ea88e60adeb847a8749cf | |
parent | de56e8e632298e6fc2df9bd1466f441e8c7c2caa [diff] |
Update the mTotalDuration for each animation in an AnimatorSet. A cache was introduced in I677bc289f2ba430466f2d90ebc14368cb7b75118 to optimise calls to createDependencyGraph(), but the update was removed in If1dc6e8dbc93a4bf5ade8c5b0dcf43d3ee6ba7b5. This patch reintroduces the update when calculating child animation start/end times to re-enable the optimisation. Test: cts-tradefed run cts-dev --module CtsAnimationTestCases Change-Id: Ie9dad4049c07a151889b57809bf844ab854ff482