diff options
author | Tom Cherry <tomcherry@google.com> | 2020-03-23 13:41:46 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-03-24 15:14:27 +0000 |
commit | 01cd1715b4296a7640d489806531863a1d974716 (patch) | |
tree | 545c34344db9c34b32ba2b3943da9db9b2e044e9 /cmds/incidentd | |
parent | 5dcb91e7cd98879f3079e9fc805a22173c11bc0a (diff) |
Remove ANDROID_LOG_RDONLY
This macro hasn't been meaningful in years.
Test: logging unit tests
Change-Id: I1b5008dd468e8ce0280a1e3e8c106e34c9648695
Diffstat (limited to 'cmds/incidentd')
-rw-r--r-- | cmds/incidentd/src/Section.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/incidentd/src/Section.h b/cmds/incidentd/src/Section.h index 2ce45ed66a32..bf915c4165d5 100644 --- a/cmds/incidentd/src/Section.h +++ b/cmds/incidentd/src/Section.h @@ -164,8 +164,8 @@ class LogSection : public WorkerThreadSection { // global last log retrieved timestamp for each log_id_t. static map<log_id_t, log_time> gLastLogsRetrieved; - // log mode: read only & non blocking. - const static int logModeBase = ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK; + // log mode: non blocking. + const static int logModeBase = ANDROID_LOG_NONBLOCK; public: LogSection(int id, const char* logID, ...); |