commit | 00177e483dd5b703545e742e6e2f8346dd4f624f | [log] [tgz] |
---|---|---|
author | Chet Haase <chet@google.com> | Mon Sep 10 13:42:07 2012 -0700 |
committer | Chet Haase <chet@google.com> | Mon Sep 10 13:42:07 2012 -0700 |
tree | e2748395797ad177925ab38cbb0b6c194139b944 | |
parent | a3909a93958676d341424d574752bc7b3280d421 [diff] |
Fix clone() for Animators with just a 'to' value Previously, clone() on an Animator with only one value would mistakenly think that the clone had a real starting value (which would end up being 0 in the int and float cases). Fix is to set the 'mHasFirstValue' flag appropriately for the clone, based on the state of the cloned animator. Issue #7106442 ObjectAnimator.clone() does not work properly for single parameter Change-Id: I08bf03b7687a65eb613c1671a58e4cbfae66a30e