summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-05-12 16:44:59 -0700
committerAlan Viverette <alanv@google.com>2015-05-12 16:44:59 -0700
commitaa358194f015e282e9c0962e49fe6752efc4f9c0 (patch)
tree60b4e0827e893ef46079f0f3a2f8773db5690269 /graphics
parent6dda58e7acb13f8a9c3fab385055eedf7d5c9416 (diff)
downloadframeworks_base-aa358194f015e282e9c0962e49fe6752efc4f9c0.zip
frameworks_base-aa358194f015e282e9c0962e49fe6752efc4f9c0.tar.gz
frameworks_base-aa358194f015e282e9c0962e49fe6752efc4f9c0.tar.bz2
AnimatedRotateDrawable should inflate child elements
This was missed during the update that extended from DrawableWrapper. Bug: 20089503 Change-Id: Ie84c040deaecb415e882842f2172a344afa8df7b
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java b/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
index 24e0d6a..4fc5ede 100644
--- a/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
+++ b/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
@@ -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();