Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eec6164e authored by ztenghui's avatar ztenghui
Browse files

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

b/17949291

Change-Id: I0e59852220ab8a3be2c70afa483e805029a9e19e
parent 0a1ffdb3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);