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

Commit c8a49a2b authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Write packages.list when granting permissions." into mnc-dev

parents f1da9a14 b43ec54c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1586,6 +1586,11 @@ public class PackageManagerService extends IPackageManager.Stub {
                grantRequestedRuntimePermissionsForUser(pkg, someUserId);
            }
        }
        // We could have touched GID membership, so flush out packages.list
        synchronized (mPackages) {
            mSettings.writePackageListLPr();
        }
    }
    private void grantRequestedRuntimePermissionsForUser(PackageParser.Package pkg, int userId) {