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

Commit de09a543 authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Merge "Add missing computeOpacity call" into pi-dev

am: 3f5ab8bd

Change-Id: I7ba26906d57655421707d3d8734782c527de5e2e
parents a8a23b95 3f5ab8bd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2093,6 +2093,7 @@ public class GradientDrawable extends Drawable {
            }
            mRadius = radius;
            mRadiusArray = null;
            computeOpacity();
        }

        public void setCornerRadii(float[] radii) {
@@ -2100,6 +2101,7 @@ public class GradientDrawable extends Drawable {
            if (radii == null) {
                mRadius = 0;
            }
            computeOpacity();
        }

        public void setSize(int width, int height) {