summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-11-23 22:18:44 (GMT)
committerArne Coucheron <arco68@gmail.com>2017-07-15 04:51:06 (GMT)
commitdb2af676aeb3361b9a12f92e8bc27f6ffdc0f3f8 (patch)
treedb8fce07eacf4895754061b453d0abcf94802a32
parentb198b41b3797d7355ff1fbd094e119fb63cb7b58 (diff)
downloadandroid_packages_apps_Trebuchet-db2af676aeb3361b9a12f92e8bc27f6ffdc0f3f8.zip
android_packages_apps_Trebuchet-db2af676aeb3361b9a12f92e8bc27f6ffdc0f3f8.tar.gz
android_packages_apps_Trebuchet-db2af676aeb3361b9a12f92e8bc27f6ffdc0f3f8.tar.bz2
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 4c4d67c..4107cea 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;
}