summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-11-23 14:18:44 -0800
committercretin45 <cretin45@gmail.com>2015-11-23 14:18:44 -0800
commit80cdd85d75081913a85eb20bb912050f06cb310c (patch)
tree1dd815d686d922d74dbe7a46d5ee187c52cfa83a
parentacab44fc939b4083ab7ec889b0c6d4fe0db00cca (diff)
downloadandroid_packages_apps_Trebuchet-80cdd85d75081913a85eb20bb912050f06cb310c.tar.gz
android_packages_apps_Trebuchet-80cdd85d75081913a85eb20bb912050f06cb310c.tar.bz2
android_packages_apps_Trebuchet-80cdd85d75081913a85eb20bb912050f06cb310c.zip
Trebuchet: Use full res app icon on icon cache init
Change-Id: I77400641d561de9b012b4fadd088fb62c9dbdcdd
-rw-r--r--src/com/android/launcher3/AppInfo.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/AppInfo.java b/src/com/android/launcher3/AppInfo.java
index c95d5585a..c513153a5 100644
--- a/src/com/android/launcher3/AppInfo.java
+++ b/src/com/android/launcher3/AppInfo.java
@@ -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;
}