diff options
author | Alan Viverette <alanv@google.com> | 2014-12-10 16:00:43 -0800 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2014-12-10 16:00:43 -0800 |
commit | 3ad771b384b55bc0b9ee9519f457ea7093bb0b74 (patch) | |
tree | 0d90eb082e113b2d8b9547c632983c15f7ab9d5f /graphics | |
parent | 6c42ee470307eee56a21062ad67b67878aa9392d (diff) | |
download | frameworks_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.java | 2 |
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); } } |