Merge "Shortcut crash fix" into udc-qpr-dev

This commit is contained in:
Federico Baron
2023-09-21 19:25:25 +00:00
committed by Android (Google) Code Review
@@ -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