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

Commit 913dd6b9 authored by Nader Jawad's avatar Nader Jawad
Browse files

Revert submission

Reason for revert: Causes regressions tracked in:

b/145900622
b/145864909
b/145948923

Change-Id: Ia24ece94d5281cd25d990d8cae923cf50497e1f1
parent 960a8cf9
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -784,9 +784,7 @@ public class GradientDrawable extends Drawable {
            mFillPaint.setDither(st.mDither);
            mFillPaint.setColorFilter(colorFilter);
            if (colorFilter != null && st.mSolidColors == null) {
                // If we don't have a solid color and we don't have a gradient,
                // the app is stroking the shape, set the color to transparent
                mFillPaint.setColor(st.mGradientColors != null ? mAlpha << 24 : 0);
                mFillPaint.setColor(mAlpha << 24);
            }
            if (haveStroke) {
                mStrokePaint.setAlpha(currStrokeAlpha);