Fix no resources for create BitmapDrawable

This commit is contained in:
seven332 committed 2016-03-11 20:12:42 +08:00
1 parent ef967102eb
commit 44c9c66952
1 file changed
+1 -1
@@ -100,7 +100,7 @@ public class UnikeryDrawable extends WrapDrawable implements Unikery<Bitmap> {
removeDrawableAndHolder();
mHolder = holder;
Drawable drawable = new BitmapDrawable(holder.getValue());
Drawable drawable = new BitmapDrawable(mTextView.getResources(), holder.getValue());
setDrawable(drawable);