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

Commit 6bf1208c authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 4827 into donut

* changes:
  Fix issue with shared user permissions. just look in the requested permissions of packages within shared user setting rather than the granted permissions
parents be7f0f78 b97b8f88
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5934,7 +5934,7 @@ class PackageManagerService extends IPackageManager.Stub {
                    continue;
                }
                for (PackageSetting pkg:sus.packages) {
                    if (pkg.grantedPermissions.contains (eachPerm)) {
                    if (pkg.pkg.requestedPermissions.contains(eachPerm)) {
                        used = true;
                        break;
                    }