summaryrefslogtreecommitdiffstats
path: root/logd
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-04-01 16:57:29 -0700
committerMark Salyzyn <salyzyn@google.com>2014-04-01 16:57:29 -0700
commitca4c63d7994e66b45e9ebeb62e417b7da904b87c (patch)
treedc35f13e130399571405687125c95f52f717d5aa /logd
parentdfdbb64ff79df937e939f78ff70d5501f17e57d3 (diff)
downloadsystem_core-ca4c63d7994e66b45e9ebeb62e417b7da904b87c.zip
system_core-ca4c63d7994e66b45e9ebeb62e417b7da904b87c.tar.gz
system_core-ca4c63d7994e66b45e9ebeb62e417b7da904b87c.tar.bz2
logd: build breakage in user
build breakage in branch: git_klp-dev-gpl @ 1101951 Change-Id: I4c9681bf4c97368ec19f5a79fef134aba937f337
Diffstat (limited to 'logd')
-rw-r--r--logd/LogBuffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logd/LogBuffer.cpp b/logd/LogBuffer.cpp
index aa44264..81eb091 100644
--- a/logd/LogBuffer.cpp
+++ b/logd/LogBuffer.cpp
@@ -39,9 +39,11 @@ LogBuffer::LogBuffer(LastLogTimes *times)
pthread_mutex_init(&mLogElementsLock, NULL);
dgram_qlen_statistics = false;
+#ifdef USERDEBUG_BUILD
log_id_for_each(i) {
mMaxSize[i] = LOG_BUFFER_SIZE;
}
+#endif
}
void LogBuffer::log(log_id_t log_id, log_time realtime,