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

Commit f61e4e0a authored by Jay Aliomer's avatar Jay Aliomer Committed by Automerger Merge Worker
Browse files

Merge "Fix faint ripple" into tm-dev am: 973fc119

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17251543

Change-Id: If56aa614628b37e6bd818f523188df194c1af1d8
parents a6429d03 973fc119
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;