OSDN Git Service

Trebuchet: Use full res app icon on icon cache init
authorcretin45 <cretin45@gmail.com>
Mon, 23 Nov 2015 22:18:44 +0000 (14:18 -0800)
committercretin45 <cretin45@gmail.com>
Mon, 23 Nov 2015 22:18:44 +0000 (14:18 -0800)
Change-Id: I77400641d561de9b012b4fadd088fb62c9dbdcdd

src/com/android/launcher3/AppInfo.java

index c95d558..c513153 100644 (file)
@@ -85,7 +85,8 @@ public class AppInfo extends ItemInfo {
 
         flags = initFlags(info);
         firstInstallTime = info.getFirstInstallTime();
-        iconCache.getTitleAndIcon(this, info, true /* useLowResIcon */);
+        // Using the full res icon on init might need to be made configurable for low spec devices.
+        iconCache.getTitleAndIcon(this, info, false /* useLowResIcon */);
         intent = makeLaunchIntent(context, info, user);
         this.user = user;
     }