Using themed icons in taskbar

Bug: 195437559
Test: Verified on device
Change-Id: If8c0a72e037783e96abbaae6b60aa36a686fcfea
This commit is contained in:
Sunny Goyal 2021-08-03 12:25:02 -07:00
parent 9016e17988
commit 59f1915c9d
1 changed files with 2 additions and 1 deletions

View File

@ -321,7 +321,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
@UiThread
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);
mDotParams.color = IconPalette.getMutedColor(iconDrawable.getIconColor(), 0.54f);