summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-11-23 14:18:44 -0800
committerArne Coucheron <arco68@gmail.com>2017-07-15 06:51:06 +0200
commitdb2af676aeb3361b9a12f92e8bc27f6ffdc0f3f8 (patch)
treedb8fce07eacf4895754061b453d0abcf94802a32
parentb198b41b3797d7355ff1fbd094e119fb63cb7b58 (diff)
downloadandroid_packages_apps_Trebuchet-db2af676aeb3361b9a12f92e8bc27f6ffdc0f3f8.tar.gz
android_packages_apps_Trebuchet-db2af676aeb3361b9a12f92e8bc27f6ffdc0f3f8.tar.bz2
android_packages_apps_Trebuchet-db2af676aeb3361b9a12f92e8bc27f6ffdc0f3f8.zip
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 4c4d67c59..4107cea66 100644
--- a/src/com/android/launcher3/AppInfo.java
+++ b/src/com/android/launcher3/AppInfo.java
@@ -96,7 +96,8 @@ public class AppInfo extends ItemInfo {
isDisabled |= ShortcutInfo.FLAG_DISABLED_QUIET_USER;
}
- 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;
}