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

Commit 44534f38 authored by Steve Kondik's avatar Steve Kondik
Browse files

pm: Deal with a nuked package that was granted extra permissions

Change-Id: I4c78c1b79903ab90a528811765155b2aaae39754
parent 4fc09873
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7934,6 +7934,9 @@ public class PackageManagerService extends IPackageManager.Stub {
                if (isUpdatedSystemApp(pkg)) {
                    final PackageSetting sysPs = mSettings
                            .getDisabledSystemPkgLPr(pkg.packageName);
                    if (sysPs == null) {
                        return false;
                    }
                    final GrantedPermissions origGp = sysPs.sharedUser != null
                            ? sysPs.sharedUser : sysPs;