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

Commit a4e603bc authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Undo not warning user-package-whitelist issues in logmode" into rvc-dev...

Merge "Undo not warning user-package-whitelist issues in logmode" into rvc-dev am: cc56e255 am: 6962ba41 am: fec04cf1

Change-Id: Icb697ca12d9a85c014491c8ae7ef99fe5d8bab93
parents c6badf4e fec04cf1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ class UserSystemPackageInstaller {
     */
    @NonNull
    private List<String> getPackagesWhitelistErrors(@PackageWhitelistMode int mode) {
        if ((!isEnforceMode(mode) || isImplicitWhitelistMode(mode))) {
        if ((!isEnforceMode(mode) || isImplicitWhitelistMode(mode)) && !isLogMode(mode)) {
            return Collections.emptyList();
        }

@@ -753,7 +753,7 @@ class UserSystemPackageInstaller {
            mode = getDeviceDefaultWhitelistMode();
        }
        if (criticalOnly) {
            // Flip-out log mode
            // Ignore log mode (if set) since log-only issues are not critical.
            mode &= ~USER_TYPE_PACKAGE_WHITELIST_MODE_LOG;
        }
        Slog.v(TAG, "dumpPackageWhitelistProblems(): using mode " + modeToString(mode));