Merge "[Bugfix]fix NullPointException when PackageInfo's verifiers is null "
This commit is contained in:
@@ -643,7 +643,7 @@ final class VerificationParams extends HandlerParams {
|
|||||||
|
|
||||||
private List<ComponentName> matchVerifiers(PackageInfoLite pkgInfo,
|
private List<ComponentName> matchVerifiers(PackageInfoLite pkgInfo,
|
||||||
List<ResolveInfo> receivers, final PackageVerificationState verificationState) {
|
List<ResolveInfo> receivers, final PackageVerificationState verificationState) {
|
||||||
if (pkgInfo.verifiers.length == 0) {
|
if (pkgInfo.verifiers == null || pkgInfo.verifiers.length == 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user