Merge "Check if ParsedMainComponent is null before dereferencing" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
306175e9dc
@@ -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