Android 5.1.1 release 17
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlXwpj0ACgkQ6K0/gZqxDnh0swCgkUWUtdOuCIHmYSWvsbCKeISA
oh0AnRV7mOmM90qqxOgJQKcx9c4Octuu
=HK1J
-----END PGP SIGNATURE-----
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
1 file changed