Loading iconloaderlib/src/com/android/launcher3/icons/cache/BaseIconCache.java +6 −2 Original line number Diff line number Diff line Loading @@ -589,8 +589,12 @@ public abstract class BaseIconCache { BaseIconFactory li = getIconFactory(); // Load the full res icon for the application, but if useLowResIcon is set, then // only keep the low resolution icon instead of the larger full-sized icon BitmapInfo iconInfo = li.createBadgedIconBitmap( appInfo.loadIcon(mPackageManager), Drawable appIcon = appInfo.loadIcon(mPackageManager); if (mPackageManager.isDefaultApplicationIcon(appIcon)) { // TODO(b/343233224): Log in more persistent location such as FileLog. Log.d(TAG, String.format("Default icon returned for %s", packageName)); } BitmapInfo iconInfo = li.createBadgedIconBitmap(appIcon, new IconOptions().setUser(user).setInstantApp(isInstantApp(appInfo))); li.close(); Loading Loading
iconloaderlib/src/com/android/launcher3/icons/cache/BaseIconCache.java +6 −2 Original line number Diff line number Diff line Loading @@ -589,8 +589,12 @@ public abstract class BaseIconCache { BaseIconFactory li = getIconFactory(); // Load the full res icon for the application, but if useLowResIcon is set, then // only keep the low resolution icon instead of the larger full-sized icon BitmapInfo iconInfo = li.createBadgedIconBitmap( appInfo.loadIcon(mPackageManager), Drawable appIcon = appInfo.loadIcon(mPackageManager); if (mPackageManager.isDefaultApplicationIcon(appIcon)) { // TODO(b/343233224): Log in more persistent location such as FileLog. Log.d(TAG, String.format("Default icon returned for %s", packageName)); } BitmapInfo iconInfo = li.createBadgedIconBitmap(appIcon, new IconOptions().setUser(user).setInstantApp(isInstantApp(appInfo))); li.close(); Loading