From e44251247f3bebf62072017db899c4dd64a48ecb Mon Sep 17 00:00:00 2001 From: Mario Bertschler Date: Tue, 14 Mar 2017 14:02:00 -0700 Subject: [PATCH] Setting AppInfo.itemType to ITEM_TYPE_APPLICATION per default It's wrongly set to ITEM_TYPE_SHORTCUT, changing it to ITEM_TYPE_APPLICATION in the constructor. Change-Id: I51383d09d50ac90cea15fce816503648d2cb690e --- src/com/android/launcher3/AppInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/AppInfo.java b/src/com/android/launcher3/AppInfo.java index 0ddde73c5f..2a620370fd 100644 --- a/src/com/android/launcher3/AppInfo.java +++ b/src/com/android/launcher3/AppInfo.java @@ -44,7 +44,7 @@ public class AppInfo extends ItemInfoWithIcon { public int isDisabled = ShortcutInfo.DEFAULT; public AppInfo() { - itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; + itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION; } @Override