Set evaluator after setting values so that it can take effect.

Bug 10638385

setEvaluator only takes effect after values are set in
an Animator.

Change-Id: I609a8615732182add3dd5bfc8940a4913e031cfa
This commit is contained in:
George Mount
2013-09-25 15:48:12 -07:00
parent 7235ae06a1
commit f8c40cfc72

View File

@@ -215,7 +215,7 @@ public class AnimatorInflater {
(toType <= TypedValue.TYPE_LAST_COLOR_INT))) {
// special case for colors: ignore valueType and get ints
getFloats = false;
anim.setEvaluator(new ArgbEvaluator());
evaluator = new ArgbEvaluator();
}
if (getFloats) {