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
diff --git a/src/com/android/launcher3/AppInfo.java b/src/com/android/launcher3/AppInfo.java
index 0ddde73..2a62037 100644
--- a/src/com/android/launcher3/AppInfo.java
+++ b/src/com/android/launcher3/AppInfo.java
@@ -44,7 +44,7 @@
public int isDisabled = ShortcutInfo.DEFAULT;
public AppInfo() {
- itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT;
+ itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION;
}
@Override