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

Commit 10a124d3 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by Gerrit Code Review
Browse files

Merge "logd: whitelist should not preserve expire messages"

parents fba413d8 c5bf3b83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -524,7 +524,7 @@ void LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) {
            break;
        }

        if (hasWhitelist && mPrune.nice(e)) { // WhiteListed
        if (hasWhitelist && !e->getDropped() && mPrune.nice(e)) { // WhiteListed
            whitelist = true;
            it++;
            continue;