Set disabled state when getting new icon from DrawableFactory.
Change-Id: Ic9c508d24cc0e65d45f5c1f4bcbe8d5cd7fb9200
This commit is contained in:
1 parent
ba61934e16
commit
d82c5cd2b0
3 files changed
+5
-6
No files matched your search
@@ -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