From 48c2f8a0dc9d88f4d63f3e78c889dc62716eb5b0 Mon Sep 17 00:00:00 2001 From: Shamali P Date: Mon, 1 Apr 2024 02:08:46 +0000 Subject: [PATCH] Don't show badge for widgets in recommendations - Now that we display app logo, it will already be badged. So, another badge on widget itself is not necessary. Moreover, when widget previews don't fill bounds, its position feels inconsistent. Bug: 331838199 Test: Manual (see screenshot in bug comment) Flag: N/A Change-Id: Id411d054de634d7735b70fff9540e580b078b741 --- .../widget/picker/WidgetsRecommendationTableLayout.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/com/android/launcher3/widget/picker/WidgetsRecommendationTableLayout.java b/src/com/android/launcher3/widget/picker/WidgetsRecommendationTableLayout.java index 7a2b4efe5a..563894d804 100644 --- a/src/com/android/launcher3/widget/picker/WidgetsRecommendationTableLayout.java +++ b/src/com/android/launcher3/widget/picker/WidgetsRecommendationTableLayout.java @@ -109,7 +109,6 @@ public final class WidgetsRecommendationTableLayout extends TableLayout { WidgetCell widgetCell = addItemCell(tableRow); widgetCell.applyFromCellItem(widgetItem); widgetCell.showAppIconInWidgetTitle(true); - widgetCell.showBadge(); if (enableCategorizedWidgetSuggestions()) { widgetCell.showDescription(false); widgetCell.showDimensions(false);