Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 690a16c3 authored by Alan Viverette's avatar Alan Viverette
Browse files

Invalidate the cached ripple drawable mask if mask layer changes

Bug: 21955350
Change-Id: I2e610a5a0af39668b7e9447cfd7d48d35e11d299
parent f3e8dca8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;