Merge "logd: notify kernel log readers of new messages" am: 6a2686b0f3
am: 587297953e
Change-Id: Ic20fc2717b3e64111a664ae76b5837d8d45deda5
This commit is contained in:
commit
f2244c4976
|
@ -825,7 +825,7 @@ int LogKlog::log(const char* buf, ssize_t len) {
|
|||
(unsigned short)n);
|
||||
|
||||
// notify readers
|
||||
if (!rc) {
|
||||
if (rc > 0) {
|
||||
reader->notifyNewLog(static_cast<log_mask_t>(1 << LOG_ID_KERNEL));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue