Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f38ef8a9 authored by Song Chun Fan's avatar Song Chun Fan Committed by Automerger Merge Worker
Browse files

Merge "[Bugfix]fix NullPointException when PackageInfo's verifiers is null "...

Merge "[Bugfix]fix NullPointException when PackageInfo's verifiers is null " am: 56535ae5 am: 28f1ea0a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2264802



Change-Id: I16bbac538a58e8376132b3b9623706447b9d0943
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 502cf6a5 28f1ea0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -643,7 +643,7 @@ final class VerificationParams extends HandlerParams {

    private List<ComponentName> matchVerifiers(PackageInfoLite pkgInfo,
            List<ResolveInfo> receivers, final PackageVerificationState verificationState) {
        if (pkgInfo.verifiers.length == 0) {
        if (pkgInfo.verifiers == null || pkgInfo.verifiers.length == 0) {
            return null;
        }