Merge "logd: whitelist should not preserve expire messages"

This commit is contained in:
Mark Salyzyn 2015-06-01 21:16:57 +00:00 committed by Gerrit Code Review
commit 10a124d342
1 changed files with 1 additions and 1 deletions

View File

@ -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;