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

Commit 20546c94 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: If28d97c1d92fd845c8c82493f6a9adece23b46b9
parents da7500e9 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;