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

Commit b22e7452 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

Change-Id: I9c1ed4155674e7c7a218c2afe784dd703613d825
parents 14a4ec65 694acb1e
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