Stop using deprecated Canvas APIs.

Bug: 73777445
Test: compile
Change-Id: Ic0a1f4ebc10ba46229fd97408c052c0b450b4945
This commit is contained in:
Derek Sollenberger committed 2018-03-01 04:39:57 +00:00
1 parent 43936eb05c
commit 26a1b452f4
12 files changed
+15 -19

No files matched your search

@@ -176,7 +176,7 @@ public class PreloadIconDrawable extends FastBitmapDrawable {
}
canvas.drawPath(mScaledProgressPath, mProgressPaint);
int saveCount = canvas.save(Canvas.MATRIX_SAVE_FLAG);
int saveCount = canvas.save();
Rect bounds = getBounds();
canvas.scale(mIconScale, mIconScale, bounds.exactCenterX(), bounds.exactCenterY());