summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2014-09-10 16:54:02 -0700
committerAlan Viverette <alanv@google.com>2014-09-10 16:54:02 -0700
commitc3a63c1fbb47f167f6736ad637fd6c6e3ee9d1d8 (patch)
treee7bee58f83200740f9205dc3a7749ea089bf74e6 /graphics
parent3ab7bf1a3d1383190a8c3a84f1216227529fdcec (diff)
downloadframeworks_base-c3a63c1fbb47f167f6736ad637fd6c6e3ee9d1d8.zip
frameworks_base-c3a63c1fbb47f167f6736ad637fd6c6e3ee9d1d8.tar.gz
frameworks_base-c3a63c1fbb47f167f6736ad637fd6c6e3ee9d1d8.tar.bz2
Copy opaque over shape in GradientDrawable copy constructor
BUG: 17433604 Change-Id: I8eeba8bd68930db178545a3b25e29c3c45ae1f79
Diffstat (limited to 'graphics')
-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 2c8611e..e1c88cb 100644
--- a/graphics/java/android/graphics/drawable/GradientDrawable.java
+++ b/graphics/java/android/graphics/drawable/GradientDrawable.java
@@ -1552,6 +1552,7 @@ public class GradientDrawable extends Drawable {
mUseLevel = state.mUseLevel;
mUseLevelForShape = state.mUseLevelForShape;
mOpaqueOverBounds = state.mOpaqueOverBounds;
+ mOpaqueOverShape = state.mOpaqueOverShape;
mThemeAttrs = state.mThemeAttrs;
mAttrSize = state.mAttrSize;
mAttrGradient = state.mAttrGradient;