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

Commit 99741774 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Updating disabled state of badged bitmap

Bug: 239675562
Flag: EXEMPT bugfix
Test: Manual
Change-Id: I20c4d4c1a53d4e047f8a1f3800be996941e5e562
parent c47208be
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -301,6 +301,9 @@ public class FastBitmapDrawable extends Drawable implements Drawable.Callback {
    public void setIsDisabled(boolean isDisabled) {
        if (mIsDisabled != isDisabled) {
            mIsDisabled = isDisabled;
            if (mBadge instanceof FastBitmapDrawable fbd) {
                fbd.setIsDisabled(isDisabled);
            }
            updateFilter();
        }
    }