logd: whitelist should not preserve expire messages
Change-Id: I56275c73191b96aa21e7b4049d401e1f44211f9b
This commit is contained in:
parent
02b29c49d4
commit
c5bf3b8304
|
@ -526,7 +526,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;
|
||||
|
|
Loading…
Reference in New Issue