Set cache dirty when re-create the cache bitmap

b/17503595

Change-Id: Icdaa3651345b740772363f8afb29bb36741fcc87
This commit is contained in:
ztenghui
2014-09-15 16:36:07 -07:00
committed by Tenghui Zhu
parent a2f945e227
commit 9c13ed366f

View File

@@ -702,6 +702,7 @@ public class VectorDrawable extends Drawable {
bounds.height())) {
mCachedBitmap = Bitmap.createBitmap(bounds.width(), bounds.height(),
Bitmap.Config.ARGB_8888);
mCacheDirty = true;
}
}