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

Commit 694acb1e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clip GradientDrawable's saveLayer" into nyc-mr1-dev

parents fd28d8eb 1e5d428b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -699,7 +699,7 @@ public class GradientDrawable extends Drawable {
            float rad = mStrokePaint.getStrokeWidth();
            canvas.saveLayer(mRect.left - rad, mRect.top - rad,
                             mRect.right + rad, mRect.bottom + rad,
                             mLayerPaint, Canvas.HAS_ALPHA_LAYER_SAVE_FLAG);
                             mLayerPaint);

            // don't perform the filter in our individual paints
            // since the layer will do it for us