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

Commit 23cae105 authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Don't delete legacy shortcuts in loadWorkspace()" into ub-launcher3-dorval

parents b77aa69e 431a7132
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1062,7 +1062,8 @@ public class LauncherModel extends BroadcastReceiver
                                    info = c.loadSimpleShortcut();

                                    // Shortcuts are only available on the primary profile
                                    if (pmHelper.isAppSuspended(targetPkg, c.user)) {
                                    if (!TextUtils.isEmpty(targetPkg)
                                            && pmHelper.isAppSuspended(targetPkg, c.user)) {
                                        disabledState |= ShortcutInfo.FLAG_DISABLED_SUSPENDED;
                                    }