commit | 6a2686b0f3a0282c4baa39d5aa88d030fe118be6 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Apr 25 16:40:59 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Apr 25 16:40:59 2018 +0000 |
tree | 8e60c45bbbae17d61f5296d809b1a96d4480dc2c | |
parent | 9249f4bc4148caef423a9cd0139d9e917fb36341 [diff] | |
parent | cbfebdbadb283ee13c555e7d79037fb5089caa4a [diff] |
Merge "logd: notify kernel log readers of new messages"
diff --git a/logd/LogKlog.cpp b/logd/LogKlog.cpp index 7a7ac7d..ab980ac 100755 --- a/logd/LogKlog.cpp +++ b/logd/LogKlog.cpp
@@ -825,7 +825,7 @@ (unsigned short)n); // notify readers - if (!rc) { + if (rc > 0) { reader->notifyNewLog(static_cast<log_mask_t>(1 << LOG_ID_KERNEL)); }