From 13f656e15e470f7b5e0a1710ead41c7c8487e905 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 18 Feb 2021 09:36:02 -0800 Subject: [PATCH] Always loading high-res icon for apps. Low res support will be completely removed in a followup cl Bug: 179962824 Test: Verified on device Change-Id: Ibb19d1892bfcdf5d26178e807f54f40462704e33 --- src/com/android/launcher3/model/AllAppsList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/launcher3/model/AllAppsList.java b/src/com/android/launcher3/model/AllAppsList.java index a519f9275c..92b5885e9e 100644 --- a/src/com/android/launcher3/model/AllAppsList.java +++ b/src/com/android/launcher3/model/AllAppsList.java @@ -136,7 +136,7 @@ public class AllAppsList { if (findAppInfo(info.componentName, info.user) != null) { return; } - mIconCache.getTitleAndIcon(info, activityInfo, true /* useLowResIcon */); + mIconCache.getTitleAndIcon(info, activityInfo, false /* useLowResIcon */); info.sectionName = mIndex.computeSectionName(info.title); data.add(info); @@ -280,7 +280,7 @@ public class AllAppsList { } else { Intent launchIntent = AppInfo.makeLaunchIntent(info); - mIconCache.getTitleAndIcon(applicationInfo, info, true /* useLowResIcon */); + mIconCache.getTitleAndIcon(applicationInfo, info, false /* useLowResIcon */); applicationInfo.sectionName = mIndex.computeSectionName(applicationInfo.title); applicationInfo.setProgressLevel( PackageManagerHelper.getLoadingProgress(info),