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

Commit c01d1045 authored by Raph Levien's avatar Raph Levien Committed by Android (Google) Code Review
Browse files

Merge "Fix for bug 7400445 regression in background drawable" into jb-mr1-dev

parents 9e3a900c 39824f68
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1191,6 +1191,11 @@ public class GradientDrawable extends Drawable {
                return;
            }

            if (mRadius > 0 || mRadiusArray != null) {
                mOpaque = false;
                return;
            }

            if (mStrokeWidth > 0 && !isOpaque(mStrokeColor)) {
                mOpaque = false;
                return;