Implement GradientDrawable getColorFilter.

Otherwise the value in setColorFilter is unavailable.

Bug:17137319
Change-Id: Ief973abfa129d935aa45336275337e19a3eb0f6a
This commit is contained in:
John Spurlock
2014-08-21 14:53:05 -04:00
parent 7bf41929f2
commit 38b5f597de

View File

@@ -810,6 +810,11 @@ public class GradientDrawable extends Drawable {
}
}
@Override
public ColorFilter getColorFilter() {
return mColorFilter;
}
@Override
public void setColorFilter(ColorFilter cf) {
if (cf != mColorFilter) {