summaryrefslogtreecommitdiff
path: root/src/com/android/launcher3/icons/ShortcutCachingLogic.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/icons/ShortcutCachingLogic.java')
-rw-r--r--src/com/android/launcher3/icons/ShortcutCachingLogic.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/icons/ShortcutCachingLogic.java b/src/com/android/launcher3/icons/ShortcutCachingLogic.java
index 6a8f34a93d..d7eed06901 100644
--- a/src/com/android/launcher3/icons/ShortcutCachingLogic.java
+++ b/src/com/android/launcher3/icons/ShortcutCachingLogic.java
@@ -71,8 +71,8 @@ public class ShortcutCachingLogic implements CachingLogic<ShortcutInfo> {
Drawable unbadgedDrawable = ShortcutCachingLogic.getIcon(
context, info, LauncherAppState.getIDP(context).fillResIconDpi);
if (unbadgedDrawable == null) return BitmapInfo.LOW_RES_INFO;
- return new BitmapInfo(li.createScaledBitmapWithoutShadow(unbadgedDrawable),
- Themes.getColorAccent(context));
+ return new BitmapInfo(li.createScaledBitmapWithoutShadow(
+ unbadgedDrawable, 0), Themes.getColorAccent(context));
}
}