summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alan Viverette <alanv@google.com> 2015-09-04 11:51:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-09-04 11:51:02 +0000
commit3d6325460ec19c89c40d2083e8ca89fe53d5575b (patch)
tree25fbb0ebd0f2f3cae8ed04e9b63f5cad028c1895
parent53f1a815b4401f10cd833217143da44ab0408dcc (diff)
parenta72f59a858ebda3d96583502d8ac02443d6223c3 (diff)
Merge "Update mFillPaint color on GradientDrawable inflation"
-rw-r--r--graphics/java/android/graphics/drawable/GradientDrawable.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/drawable/GradientDrawable.java b/graphics/java/android/graphics/drawable/GradientDrawable.java
index 72707e699a14..e097b57989e1 100644
--- a/graphics/java/android/graphics/drawable/GradientDrawable.java
+++ b/graphics/java/android/graphics/drawable/GradientDrawable.java
@@ -1019,6 +1019,7 @@ public class GradientDrawable extends Drawable {
inflateChildElements(r, parser, attrs, theme);
mGradientState.computeOpacity();
+ initializeWithState(mGradientState);
}
@Override