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

Commit 766a5d13 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use original disabled icon for app animations with disabled icons." into ub-launcher3-master

parents 75ee409b 23a2bec5
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) {