Stop using deprecated Canvas APIs.

Bug: 73777445
Test: compile
Change-Id: Ic0a1f4ebc10ba46229fd97408c052c0b450b4945
This commit is contained in:
Derek Sollenberger
2018-02-23 13:37:25 -05:00
parent 43936eb05c
commit 26a1b452f4
12 changed files with 15 additions and 19 deletions

View File

@@ -289,7 +289,7 @@ public class RecyclerViewFastScroller extends View {
if (mThumbOffsetY < 0) {
return;
}
int saveCount = canvas.save(Canvas.MATRIX_SAVE_FLAG);
int saveCount = canvas.save();
canvas.translate(getWidth() / 2, mRv.getScrollBarTop());
// Draw the track
float halfW = mWidth / 2;