Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 475648ae authored by Jay Aliomer's avatar Jay Aliomer
Browse files

Fix faint ripple

Fixes: 224547325
Test: manual
Change-Id: I9c1da7a5065dca9620ebc1f3d88d5525f0d3527c
parent 781829d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;