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

Commit 222f8c3a authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

logd: whitelist should not preserve expire messages

(cherry pick from commit c5bf3b83)

Change-Id: I56275c73191b96aa21e7b4049d401e1f44211f9b
parent fbf96b55
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;