Remove ANDROID_LOG_RDONLY
This macro hasn't been meaningful in years. Test: logging unit tests Change-Id: I849a466052524c24f1dba585a6423e80198c6b9c
This commit is contained in:
parent
8d1849930f
commit
1995d74baa
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ static void GetLogStr(pid_t pid, std::string* log_str, log_id log = LOG_ID_MAIN)
|
|||
log_str->clear();
|
||||
|
||||
logger_list* list;
|
||||
list = android_logger_list_open(log, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, 1000, pid);
|
||||
list = android_logger_list_open(log, ANDROID_LOG_NONBLOCK, 1000, pid);
|
||||
ASSERT_TRUE(list != nullptr);
|
||||
|
||||
while (true) {
|
||||
|
|
Loading…
Reference in a new issue