Loading src/com/android/launcher3/LauncherModel.java +2 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
src/com/android/launcher3/LauncherModel.java +2 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading