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

Commit 688d0381 authored by Raph Levien's avatar Raph Levien Committed by Android Git Automerger
Browse files

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

* commit 'c01d1045':
  Fix for bug 7400445 regression in background drawable
parents 4bce83ee c01d1045
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1191,6 +1191,11 @@ public class GradientDrawable extends Drawable {
                return;
                return;
            }
            }


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

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