Merge "Check if ParsedMainComponent is null before dereferencing" into tm-qpr-dev am: 306175e9dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20645668 Change-Id: Idb6f8fa312bdd1400666ce0f35f3c0ba2664d274 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1129,7 +1129,7 @@ public class PackageManagerServiceUtils {
|
||||
throw new IllegalArgumentException("Unsupported component type");
|
||||
}
|
||||
|
||||
if (comp.getIntents().isEmpty()) {
|
||||
if (comp == null || comp.getIntents().isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user