summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2016-01-11 16:27:20 -0800
committerChet Haase <chet@google.com>2016-01-11 16:27:20 -0800
commit406a02b59d3a8f9890509200f048c23c3b3200b7 (patch)
tree0fc7ef24abe8af5bf208b98477537a076e5c2823 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentab6fb6fcaf9b2406697971f7464d331b6d1d46b5 (diff)
Don't double-set keyframe values when Property exists
There is logic in PVH.setupValue() that sets the value of the appropriate keyframe from a Property, if that Property object exists for the animator. But after that is done, it goes ahead and sets the same keyframe value based on the getter for the target object. This is not only redundant; it is wrong (in the odd situation in which a getter would return something different than Property.get()). The solution is to return early once we've set the value with the Property object. Issue #26471646 PropertyValuesHolder uses reflection in setupValue when a Property is being used Change-Id: I12634a25661400f13f44872ba17625b32e93ca19
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions