Fix faint ripple
Fixes: 224547325 Test: manual Change-Id: I9c1da7a5065dca9620ebc1f3d88d5525f0d3527c
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user