From 59f1915c9d3113a960d031a5afbf3a0324e15b4f Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 3 Aug 2021 12:25:02 -0700 Subject: [PATCH] Using themed icons in taskbar Bug: 195437559 Test: Verified on device Change-Id: If8c0a72e037783e96abbaae6b60aa36a686fcfea --- src/com/android/launcher3/BubbleTextView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/launcher3/BubbleTextView.java b/src/com/android/launcher3/BubbleTextView.java index f800cf6276..02fe7d91d3 100644 --- a/src/com/android/launcher3/BubbleTextView.java +++ b/src/com/android/launcher3/BubbleTextView.java @@ -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);