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

Commit e23f96c0 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed format of cmd user report-system-user-package-whitelist-problems

Commit 79b6931b changed "whitelisted"
to "allowlisted", which broke some tests.

Fixes: 413820637
Test: atest SystemPackagesPreInstallAllowlistTest
Flag: EXEMPT Test fix only

Change-Id: Ib34d08f488be874996fae83b071513d4bc6f51f5
parent 7ee4b020
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -379,7 +379,8 @@ class UserSystemPackageInstaller {
        final PackageManagerInternal pmInt = LocalServices.getService(PackageManagerInternal.class);

        // Check whether all system packages are indeed allowlisted.
        final String logMessageFmt = "System package %s is not allowlisted using "
        // NOTE: do NOT change it, as it's used by tests
        final String logMessageFmt = "System package %s is not whitelisted using "
                + "'install-in-user-type' in SystemConfig for any user types!";
        pmInt.forEachPackageState(packageState -> {
            var pkg = packageState.getAndroidPackage();