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

Commit 23db4a68 authored by Wen Zhang's avatar Wen Zhang
Browse files

[Bugfix]check whitelisted packages exclude nonsystem app

avoid set uninstalled for nonsystem app when first boot

Bug:273457409
Change-Id: I77d19122de67869340decaf979b8f08f77070dd0
Test: Build
parent d37d9aad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ class UserSystemPackageInstaller {
            final Set<String> userAllowlist = getInstallablePackagesForUserId(userId);

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