Merge "Fix faint ripple" into tm-dev

This commit is contained in:
Jay Aliomer
2022-03-21 17:03:41 +00:00
committed by Android (Google) Code Review

View File

@@ -1000,7 +1000,7 @@ public class RippleDrawable extends LayerDrawable {
}
private int clampAlpha(@ColorInt int color) {
if (Color.alpha(color) > 128) {
if (Color.alpha(color) < 128) {
return (color & 0x00FFFFFF) | 0x80000000;
}
return color;