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

Commit bd37127e authored by Adam Bookatz's avatar Adam Bookatz Committed by Gerrit Code Review
Browse files

Merge "[Bugfix]check whitelisted packages exclude nonsystem app"

parents 3ba96541 23db4a68
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -222,7 +222,7 @@ class UserSystemPackageInstaller {
            final Set<String> userAllowlist = getInstallablePackagesForUserId(userId);
            final Set<String> userAllowlist = getInstallablePackagesForUserId(userId);


            pmInt.forEachPackageState(packageState -> {
            pmInt.forEachPackageState(packageState -> {
                if (packageState.getPkg() == null) {
                if (packageState.getPkg() == null || !packageState.isSystem()) {
                    return;
                    return;
                }
                }
                boolean install = (userAllowlist == null
                boolean install = (userAllowlist == null