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
This commit is contained in:
Mario Bertschler
2017-03-14 14:02:00 -07:00
parent 0402efbad8
commit e44251247f

View File

@@ -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