Merge "Using themed icons in taskbar" into sc-v2-dev
This commit is contained in:
@@ -321,7 +321,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
|||||||
|
|
||||||
@UiThread
|
@UiThread
|
||||||
protected void applyIconAndLabel(ItemInfoWithIcon info) {
|
protected void applyIconAndLabel(ItemInfoWithIcon info) {
|
||||||
boolean useTheme = mDisplay == DISPLAY_WORKSPACE || mDisplay == DISPLAY_FOLDER;
|
boolean useTheme = mDisplay == DISPLAY_WORKSPACE || mDisplay == DISPLAY_FOLDER
|
||||||
|
|| mDisplay == DISPLAY_TASKBAR;
|
||||||
FastBitmapDrawable iconDrawable = info.newIcon(getContext(), useTheme);
|
FastBitmapDrawable iconDrawable = info.newIcon(getContext(), useTheme);
|
||||||
mDotParams.color = IconPalette.getMutedColor(iconDrawable.getIconColor(), 0.54f);
|
mDotParams.color = IconPalette.getMutedColor(iconDrawable.getIconColor(), 0.54f);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user