mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Removing Shrink Adaptive Icons
This function is now obsolete and we can remove this and default to always shrinking non-adaptive (legacy) icons Test: AllAppsSearchImageTest Bug: 318867282 Flag: None Change-Id: I1ba1566e362c55eb04871a7515fdc76fbc689d60
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user