Merge "Unifying icon loading methods" into sc-dev
This commit is contained in:
@@ -600,7 +600,7 @@ public final class Utilities {
|
||||
LauncherActivityInfo activityInfo = launcher.getSystemService(LauncherApps.class)
|
||||
.resolveActivity(info.getIntent(), info.user);
|
||||
outObj[0] = activityInfo;
|
||||
return activityInfo == null ? null : new IconProvider(launcher).getIconForUI(
|
||||
return activityInfo == null ? null : new IconProvider(launcher).getIcon(
|
||||
activityInfo, launcher.getDeviceProfile().inv.fillResIconDpi);
|
||||
} else if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) {
|
||||
if (info instanceof PendingAddShortcutInfo) {
|
||||
|
||||
Reference in New Issue
Block a user