Merge "Use original disabled icon for app animations with disabled icons." into ub-launcher3-master
This commit is contained in:
commit
766a5d1337
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue