summaryrefslogtreecommitdiffstats
path: root/logcat
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 /logcat
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 'logcat')
-rw-r--r--logcat/logcat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp
index 41f228009..94b8691a3 100644
--- a/logcat/logcat.cpp
+++ b/logcat/logcat.cpp
@@ -177,7 +177,7 @@ static void processBuffer(log_device_t* dev, struct log_msg *buf)
static EventTagMap *eventTagMap = NULL;
if (!eventTagMap && !hasOpenedEventTagMap) {
- eventTagMap = android_openEventTagMap(EVENT_TAG_MAP_FILE);
+ eventTagMap = android_openEventTagMap(NULL);
hasOpenedEventTagMap = true;
}
err = android_log_processBinaryLogBuffer(&buf->entry_v1, &entry,