Make sure we're obtaining themed drawables correctly
Change-Id: I446a3492f7bf5a897c5d698e61327af4b7840d85
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user