summaryrefslogtreecommitdiffstats
path: root/logd
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-11-11 09:48:56 -0800
committerMark Salyzyn <salyzyn@google.com>2016-11-21 11:13:02 -0800
commit1179eb8048f5861bf92b29441230381526d30e5d (patch)
tree25a8ac14c4919e692e7c20ec612805d657eb1ea2 /logd
parentb6552f376ca2903d987faa9b05808d72952af858 (diff)
downloadsystem_core-1179eb8048f5861bf92b29441230381526d30e5d.tar.gz
system_core-1179eb8048f5861bf92b29441230381526d30e5d.tar.bz2
system_core-1179eb8048f5861bf92b29441230381526d30e5d.zip
system/core: replace EVENT_TAG_MAP_FILE with NULL
NULL represents system default. In the future, NULL could represent static and dynamic tags, which can come from multiple files based on implementation details in the liblog library. Test: gTest logd-unit-tests & liblog-unit-tests Bug: 31456426 Change-Id: I0e3d296de81ca299ae63d7b83781639ee67ec298
Diffstat (limited to 'logd')
-rw-r--r--logd/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/main.cpp b/logd/main.cpp
index 7550c41a5..c3343d785 100644
--- a/logd/main.cpp
+++ b/logd/main.cpp
@@ -311,7 +311,7 @@ const char *android::tagToName(size_t *len, uint32_t tag) {
if (!map) {
sem_wait(&sem_name);
if (!map) {
- map = android_openEventTagMap(EVENT_TAG_MAP_FILE);
+ map = android_openEventTagMap(NULL);
}
sem_post(&sem_name);
if (!map) {