summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2014-12-10 16:00:43 -0800
committerAlan Viverette <alanv@google.com>2014-12-10 16:00:43 -0800
commit3ad771b384b55bc0b9ee9519f457ea7093bb0b74 (patch)
tree0d90eb082e113b2d8b9547c632983c15f7ab9d5f /graphics
parent6c42ee470307eee56a21062ad67b67878aa9392d (diff)
downloadframeworks_base-3ad771b384b55bc0b9ee9519f457ea7093bb0b74.zip
frameworks_base-3ad771b384b55bc0b9ee9519f457ea7093bb0b74.tar.gz
frameworks_base-3ad771b384b55bc0b9ee9519f457ea7093bb0b74.tar.bz2
Update tint filter after setting gradient drawable state
BUG: 18706381 Change-Id: I7d664303c9b796243da6c55d1ea9482736aabf07
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/drawable/GradientDrawable.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/drawable/GradientDrawable.java b/graphics/java/android/graphics/drawable/GradientDrawable.java
index 94c7026..48fea46 100644
--- a/graphics/java/android/graphics/drawable/GradientDrawable.java
+++ b/graphics/java/android/graphics/drawable/GradientDrawable.java
@@ -1795,5 +1795,7 @@ public class GradientDrawable extends Drawable {
mStrokePaint.setPathEffect(e);
}
}
+
+ mTintFilter = updateTintFilter(mTintFilter, s.mTint, s.mTintMode);
}
}