Remove ANDROID_LOG_RDONLY

This macro hasn't been meaningful in years.

Test: logging unit tests
Change-Id: I849a466052524c24f1dba585a6423e80198c6b9c
This commit is contained in:
Tom Cherry 2020-03-23 13:41:06 -07:00
parent 8d1849930f
commit 1995d74baa

View file

@ -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) {