Merge "Don't show app info for ITEM_TYPE_SHORTCUT." into ub-launcher3-calgary-polish
This commit is contained in:
committed by
Android (Google) Code Review
commit
eafe9291c5
@@ -100,6 +100,7 @@ public class InfoDropTarget extends UninstallDropTarget {
|
||||
Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) == 1;
|
||||
return developmentSettingsEnabled
|
||||
&& (info instanceof AppInfo || info instanceof ShortcutInfo
|
||||
|| info instanceof PendingAddItemInfo || info instanceof LauncherAppWidgetInfo);
|
||||
|| info instanceof PendingAddItemInfo || info instanceof LauncherAppWidgetInfo)
|
||||
&& info.itemType != LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user