am d1b5953d: am ac21d5c3: Merge "Invalidate the cached ripple drawable mask if mask layer changes" into mnc-dev
* commit 'd1b5953d41ba430957dca542e01f121a381f8625': Invalidate the cached ripple drawable mask if mask layer changes
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user