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

Commit f4fd228d authored by Song Chun Fan's avatar Song Chun Fan Committed by Songchun Fan
Browse files

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

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

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



Change-Id: I2c8e81690e1687ff7d31f03e2c65afc422b18135
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 22dbd320 f38ef8a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -707,7 +707,7 @@ final class VerifyingSession {


    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;
        }
        }