diff --git a/src/com/android/launcher3/provider/LauncherDbUtils.java b/src/com/android/launcher3/provider/LauncherDbUtils.java index 1f159471a0..b992a92ee4 100644 --- a/src/com/android/launcher3/provider/LauncherDbUtils.java +++ b/src/com/android/launcher3/provider/LauncherDbUtils.java @@ -152,7 +152,12 @@ public class LauncherDbUtils { } ShortcutInfo info = infoBuilder.build(); - if (!PinRequestHelper.createRequestForShortcut(context, info).accept()) { + try { + if (!PinRequestHelper.createRequestForShortcut(context, info).accept()) { + deletedShortcuts.add(lc.id); + continue; + } + } catch (Exception e) { deletedShortcuts.add(lc.id); continue; }