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

Commit bd44f59f authored by Mark Salyzyn's avatar Mark Salyzyn Committed by Android (Google) Code Review
Browse files

Merge "logd: worst uid record watermark part deux" into mnc-dr-dev

parents bc193c53 aa58a862
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -467,7 +467,11 @@ void LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) {
            // unmerged drop message
            if (dropped) {
                last.add(e);
                if ((e->getUid() == worst)
                        || (mLastWorstUid[id].find(e->getUid())
                            == mLastWorstUid[id].end())) {
                    mLastWorstUid[id][e->getUid()] = it;
                }
                ++it;
                continue;
            }