Stop using deprecated Canvas APIs.
Bug: 73777445 Test: compile Change-Id: Ic0a1f4ebc10ba46229fd97408c052c0b450b4945
This commit is contained in:
1 parent
43936eb05c
commit
26a1b452f4
12 files changed
+15
-19
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user