diff --git a/lawnchair/res/drawable/ic_work_app_badge.xml b/lawnchair/res/drawable/ic_work_app_badge.xml deleted file mode 100644 index e79c621ab1..0000000000 --- a/lawnchair/res/drawable/ic_work_app_badge.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - diff --git a/src/com/android/launcher3/model/data/ItemInfoWithIcon.java b/src/com/android/launcher3/model/data/ItemInfoWithIcon.java index 1641d502f1..b4bec53078 100644 --- a/src/com/android/launcher3/model/data/ItemInfoWithIcon.java +++ b/src/com/android/launcher3/model/data/ItemInfoWithIcon.java @@ -313,7 +313,8 @@ public abstract class ItemInfoWithIcon extends ItemInfo { * Returns a FastBitmapDrawable with the icon. */ public FastBitmapDrawable newIcon(Context context) { - return newIcon(context, PreferenceManager.getInstance(context).getThemedIcons().get()); + var shouldTheme = PreferenceManager.getInstance(context).getThemedIcons().get(); + return newIcon(context, shouldTheme ? BitmapInfo.FLAG_THEMED : BitmapInfo.FLAG_NO_BADGE); } /**