Merge "Shortcut crash fix" into udc-qpr-dev am: 9bbb0c7522
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24820706 Change-Id: I2c7404aa918938063f248ab9e967a3d50a21258f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user