Make sure we're obtaining themed drawables correctly

Change-Id: I446a3492f7bf5a897c5d698e61327af4b7840d85
This commit is contained in:
Alan Viverette
2014-08-14 12:59:10 -07:00
parent 8599a33580
commit 03d30a573b
9 changed files with 21 additions and 26 deletions

View File

@@ -275,7 +275,7 @@ public class AnimatedRotateDrawable extends Drawable implements Drawable.Callbac
final int res = a.getResourceId(R.styleable.AnimatedRotateDrawable_drawable, 0);
Drawable drawable = null;
if (res > 0) {
drawable = r.getDrawable(res);
drawable = r.getDrawable(res, theme);
}
a.recycle();