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

Commit 9501b440 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix null check in hasSigningCertificate"

parents ebd7cae4 6a9ba6f7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -6214,8 +6214,11 @@ public class PackageManagerService extends IPackageManager.Stub
        synchronized (mLock) {
            final AndroidPackage p = mPackages.get(packageName);
            if (p == null) {
                return false;
            }
            final PackageSetting ps = getPackageSetting(p.getPackageName());
            if (p == null || ps == null) {
            if (ps == null) {
                return false;
            }
            final int callingUid = Binder.getCallingUid();