Merge "ADD NPE check before shortcut key creation." into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
368621a4bb
@@ -606,6 +606,7 @@ public final class Utilities {
|
||||
outObj[0] = activityInfo;
|
||||
return activityInfo.getFullResIcon(appState.getIconCache());
|
||||
}
|
||||
if (info.getIntent() == null || info.getIntent().getPackage() == null) return null;
|
||||
List<ShortcutInfo> si = ShortcutKey.fromItemInfo(info)
|
||||
.buildRequest(launcher)
|
||||
.query(ShortcutRequest.ALL);
|
||||
|
||||
Reference in New Issue
Block a user