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

Commit 5941f0fb authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Enable dithering on RippleDrawable" into sc-dev

parents 5262ee15 1cbfc3b0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1193,6 +1193,9 @@ public class RippleDrawable extends LayerDrawable {
            mRipplePaint = new Paint();
            mRipplePaint.setAntiAlias(true);
            mRipplePaint.setStyle(Paint.Style.FILL);
            if (mState.mRippleStyle == STYLE_PATTERNED) {
                mRipplePaint.setDither(true);
            }
        }

        final float x = mHotspotBounds.exactCenterX();