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

Commit 64b864c8 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Merge "Add a missing null check" into oc-dev am: 101fca65 am: ea999548

am: a8f3b3d7

Change-Id: I30a0ba602d88d9457a07997cab1d1ea1882de572
parents 05990221 a8f3b3d7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4231,6 +4231,9 @@ public class PackageManagerService extends IPackageManager.Stub
        // reader
        synchronized (mPackages) {
            final BasePermission p = mSettings.mPermissions.get(name);
            if (p == null) {
                return null;
            }
            // If the caller is an app that targets pre 26 SDK drop protection flags.
            final PermissionInfo permissionInfo = generatePermissionInfo(p, flags);
            if (permissionInfo != null) {