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

* commit 'ac21d5c36e0102d9f4594b845405432f72f41838':
  Invalidate the cached ripple drawable mask if mask layer changes
This commit is contained in:
Alan Viverette
2015-06-19 20:53:30 +00:00
committed by Android Git Automerger

View File

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