Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d14e497 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents ccb25a3d 869a97da
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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() {