AnimatedRotateDrawable should inflate child elements

This was missed during the update that extended from DrawableWrapper.

Bug: 20089503
Change-Id: Ie84c040deaecb415e882842f2172a344afa8df7b
This commit is contained in:
Alan Viverette
2015-05-12 16:44:59 -07:00
parent 6dda58e7ac
commit aa358194f0

View File

@@ -127,7 +127,9 @@ public class AnimatedRotateDrawable extends DrawableWrapper implements Animatabl
throws XmlPullParserException, IOException {
final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedRotateDrawable);
super.inflateWithAttributes(r, parser, a, R.styleable.AnimatedRotateDrawable_visible);
updateStateFromTypedArray(a);
inflateChildDrawable(r, parser, attrs, theme);
verifyRequiredAttributes(a);
a.recycle();