diff --git a/cmds/statsd/src/logd/LogEvent.cpp b/cmds/statsd/src/logd/LogEvent.cpp index 103eb0c78bd58..1ef1ab25098ca 100644 --- a/cmds/statsd/src/logd/LogEvent.cpp +++ b/cmds/statsd/src/logd/LogEvent.cpp @@ -290,9 +290,9 @@ bool LogEvent::write(float value) { } bool LogEvent::writeBytes(const string& value) { - if (mContext) { + /* if (mContext) { return android_log_write_char_array(mContext, value.c_str(), value.length()) >= 0; - } + }*/ return false; } diff --git a/cmds/statsd/src/logd/LogEvent.h b/cmds/statsd/src/logd/LogEvent.h index a67bef451be7e..ea449b0d615c2 100644 --- a/cmds/statsd/src/logd/LogEvent.h +++ b/cmds/statsd/src/logd/LogEvent.h @@ -20,7 +20,6 @@ #include #include -#include #include #include