Merge "Removing Shrink Adaptive Icons" into main

This commit is contained in:
Andrew Cole
2024-04-15 16:19:33 +00:00
committed by Android (Google) Code Review

View File

@@ -572,7 +572,7 @@ public class IconCache extends BaseIconCache {
try (LauncherIcons li = LauncherIcons.obtain(mContext)) {
final BitmapInfo tempBitmap = li.createBadgedIconBitmap(
mContext.getDrawable(widgetSection.mSectionDrawable),
new BaseIconFactory.IconOptions().setShrinkNonAdaptiveIcons(false));
new BaseIconFactory.IconOptions());
mWidgetCategoryBitmapInfos.put(infoInOut.widgetCategory, tempBitmap);
infoInOut.bitmap = getBadgedIcon(tempBitmap, infoInOut.user);
} catch (Exception e) {