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

Commit 17b49651 authored by Chris Craik's avatar Chris Craik Committed by android-build-merger
Browse files

Merge \\"Clip GradientDrawable\\'s saveLayer\\" into nyc-mr1-dev am: 694acb1e

am: b22e7452

Change-Id: I331574caa364e87c5178bee544e1b6d570fb4ea5
parents df4a7ad5 b22e7452
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -700,7 +700,7 @@ public class GradientDrawable extends Drawable {
            float rad = mStrokePaint.getStrokeWidth();
            float rad = mStrokePaint.getStrokeWidth();
            canvas.saveLayer(mRect.left - rad, mRect.top - rad,
            canvas.saveLayer(mRect.left - rad, mRect.top - rad,
                             mRect.right + rad, mRect.bottom + rad,
                             mRect.right + rad, mRect.bottom + rad,
                             mLayerPaint, Canvas.HAS_ALPHA_LAYER_SAVE_FLAG);
                             mLayerPaint);


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