mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Set disabled state when getting new icon from DrawableFactory.
Change-Id: Ic9c508d24cc0e65d45f5c1f4bcbe8d5cd7fb9200
This commit is contained in:
@@ -231,7 +231,6 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
FastBitmapDrawable iconDrawable = DrawableFactory.get(getContext()).newIcon(info);
|
||||
mBadgeColor = IconPalette.getMutedColor(info.iconColor, 0.54f);
|
||||
|
||||
iconDrawable.setIsDisabled(info.isDisabled());
|
||||
setIcon(iconDrawable);
|
||||
setText(info.title);
|
||||
if (info.contentDescription != null) {
|
||||
|
||||
Reference in New Issue
Block a user