commit | 1283ee748254cce69fda2d1a3d2af1cf881b2738 | [log] [tgz] |
---|---|---|
author | Justin Klaassen <justinklaassen@google.com> | Thu Dec 04 14:21:53 2014 -0800 |
committer | Justin Klaassen <justinklaassen@google.com> | Thu Dec 04 14:21:53 2014 -0800 |
tree | ac50c8a67b5e158293104daf563b9d567ae07548 | |
parent | e61089e594fb1718376926c515a1e6b594a865cf [diff] |
Stop using RenderNodeAnimator callbacks Bug: 17281017 - RenderNodeAnimator's callbacks are asynchronous and thus cannot be relied upon for synchronus state changes. Instead use Animator#end() and rely on the ValueAnimator synchronously invoking the listener's onAnimationStart callback. - Also to prevent future NPEs, remove mCurrentButton ivar and instead specify the source button directly. Change-Id: I4ca05b46c582474a6ca7e00d8d16df118ede7eb4