Make sure the bitmap from VD's cache is drawn using bi-linear filter.

b/17949291

Change-Id: I0e59852220ab8a3be2c70afa483e805029a9e19e
This commit is contained in:
ztenghui
2014-10-16 15:16:09 -07:00
parent 0a1ffdb3f8
commit eec6164e6f

View File

@@ -692,6 +692,7 @@ public class VectorDrawable extends Drawable {
if (mTempPaint == null) {
mTempPaint = new Paint();
mTempPaint.setFilterBitmap(true);
}
mTempPaint.setAlpha(mVPathRenderer.getRootAlpha());
mTempPaint.setColorFilter(filter);