Merge "Promise icons don't support popup" into ub-launcher3-dorval-polish

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2017-06-02 20:07:31 +00:00
commit 8d14e49709
1 file changed
+3 -1
@@ -65,8 +65,10 @@ public class DeepShortcutManager {
}
public static boolean supportsShortcuts(ItemInfo info) {
boolean isItemPromise = info instanceof com.android.launcher3.ShortcutInfo
&& ((com.android.launcher3.ShortcutInfo) info).isPromise();
return info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION
&& !info.isDisabled();
&& !info.isDisabled() && !isItemPromise;
}
public boolean wasLastCallSuccess() {