summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2011-04-04 15:25:09 -0700
committerChet Haase <chet@google.com>2011-04-04 15:33:55 -0700
commitd4dd7025a1b356476e119de19a2e2cd5cf50d43c (patch)
tree1134f9d6a70a38ac75d8e4164ad0307d62ee3690 /graphics/java/android/renderscript/ProgramStore.java
parent756484c2bb110c7c2155e41b6f51672ecc638a23 (diff)
Fix bug with values in cloned animators.
When a ValueAnimator is cloned, we correctly clone the underlying PropertyValuesHolder objects and assign them to the new object. However, we then put values into the new property map using the old values instead of the new ones. This means that the per-property animated values cannot be retrieved with the property names from the cloned animator, because the map refers to the values of the original object, not the cloned object that is actually being animated. Fix is easy: just put the cloned values (which are already being created) into the map. Change-Id: I81282ca1dab6b1767ddc894d57a1110b344b4b0a
Diffstat (limited to 'graphics/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions