Skip to content

Commit

Permalink
[Chip] Add @OverRide to Chip#setBackgroundTintList
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 702838517
  • Loading branch information
imhappi authored and paulfthomas committed Dec 5, 2024
1 parent 35a8203 commit 03d2c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/java/com/google/android/material/chip/Chip.java
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ public void setGravity(int gravity) {
}
}

@Override
public void setBackgroundTintList(@Nullable ColorStateList tint) {
Log.w(TAG, "Do not set the background tint list; Chip manages its own background drawable.");
}
Expand Down

0 comments on commit 03d2c69

Please sign in to comment.