diff --git a/src/com/android/launcher3/provider/LauncherDbUtils.java b/src/com/android/launcher3/provider/LauncherDbUtils.java index 1f908eb718..575551b9f2 100644 --- a/src/com/android/launcher3/provider/LauncherDbUtils.java +++ b/src/com/android/launcher3/provider/LauncherDbUtils.java @@ -120,6 +120,10 @@ public class LauncherDbUtils { deletedShortcuts.add(lc.id); continue; } + if (TextUtils.isEmpty(lc.getTitle())) { + deletedShortcuts.add(lc.id); + continue; + } // Make sure the target intent can be launched without any permissions. Otherwise remove // the shortcut