Skip to content

Commit

Permalink
[Fix] Fix lint warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghai committed Jan 16, 2023
1 parent e964970 commit 708c99e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public boolean onInterceptTouchEvent(@NonNull MotionEvent event) {
}

@Override
@SuppressLint("ClickableViewAccessibility")
public boolean onTouchEvent(@NonNull MotionEvent event) {
return mViewHelper.onTouchEvent(event);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public boolean onInterceptTouchEvent(@NonNull MotionEvent event) {
}

@Override
@SuppressLint("ClickableViewAccessibility")
public boolean onTouchEvent(@NonNull MotionEvent event) {
return mViewHelper.onTouchEvent(event);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public boolean onInterceptTouchEvent(@NonNull MotionEvent event) {
}

@Override
@SuppressLint("ClickableViewAccessibility")
public boolean onTouchEvent(@NonNull MotionEvent event) {
return mViewHelper.onTouchEvent(event);
}
Expand Down
5 changes: 4 additions & 1 deletion library/src/main/res/drawable/afs_thumb_stateful.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
~ that GradientDrawable didn't actually implement tinting until Lollipop MR1 (API 22). So if you
~ need to support API 21, you'll need to work around it yourself.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<selector
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="UnusedResources">

<item android:state_pressed="true">
<shape
Expand Down

0 comments on commit 708c99e

Please sign in to comment.