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

Commit 23a2bec5 authored by Jon Miranda's avatar Jon Miranda
Browse files

Use original disabled icon for app animations with disabled icons.

Bug: 129328259
Change-Id: I7617d6d87e299a0bb0a963b5eec573dd372fd799
parent ae5e991f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -399,7 +399,8 @@ public class FloatingIconView extends View implements
        Drawable drawable = null;
        Drawable badge = null;
        boolean supportsAdaptiveIcons = ADAPTIVE_ICON_WINDOW_ANIM.get()
                && Build.VERSION.SDK_INT >= Build.VERSION_CODES.O;
                && Build.VERSION.SDK_INT >= Build.VERSION_CODES.O
                && !info.isDisabled(); // Use original icon for disabled icons.
        Drawable btvIcon = originalView instanceof BubbleTextView
                ? ((BubbleTextView) originalView).getIcon() : null;
        if (info instanceof SystemShortcut) {