Merge "Invalidate the cached ripple drawable mask if mask layer changes" into mnc-dev

This commit is contained in:
Alan Viverette
2015-06-19 20:43:18 +00:00
committed by Android (Google) Code Review

View File

@@ -423,6 +423,7 @@ public class RippleDrawable extends LayerDrawable {
if (super.setDrawableByLayerId(id, drawable)) {
if (id == R.id.mask) {
mMask = drawable;
mHasValidMask = false;
}
return true;