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

Commit 7e05bb77 authored by Todd Kennedy's avatar Todd Kennedy Committed by android-build-merger
Browse files

Merge "Handle renamed packages during default grants" into oc-dev

am: bfc083c3

Change-Id: I068bb7548d1c972c3824185e5ab933a7b48c387b
parents b8c7c9ee bfc083c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -936,7 +936,7 @@ final class DefaultPermissionGrantPolicy {
        // permissions if the version on the system image does not declare them.
        if (!isDefaultPhoneOrSms && pkg.isUpdatedSystemApp()) {
            PackageSetting sysPs = mService.mSettings.getDisabledSystemPkgLPr(pkg.packageName);
            if (sysPs != null) {
            if (sysPs != null && sysPs.pkg != null) {
                if (sysPs.pkg.requestedPermissions.isEmpty()) {
                    return;
                }