commit | 2244fe964711fb0527f660e3f65bc5d10a97d01f | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Apr 20 04:01:01 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Apr 20 04:01:01 2021 +0000 |
tree | 276734c23eabe6945967eb1955a0bfb2b42346fe | |
parent | bd40ef0b4ff08c23ba5321192d392f9bce8f5224 [diff] | |
parent | 44ba9f2e143caabb9f111c79aa37b2ef624747b6 [diff] |
Merge "Unifying icon loading methods" into sc-dev am: 44ba9f2e14 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14200836 Change-Id: Ie50007e5c66e3f59f75d61ce39446699fdb38bfd
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java index 1776777..6f12ec7 100644 --- a/src/com/android/launcher3/Utilities.java +++ b/src/com/android/launcher3/Utilities.java
@@ -600,7 +600,7 @@ 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) {