Delete stats_event_list refs from statsd src
This breaks LogEvent::writeBytes, but that function is only called from
test code (and those tests are about to be broken soon anyways).
Test: m statsd
Test: m statsd_test
Bug: 145573568
Change-Id: Ic2d2e7c80d25fa93269e3432dbe58dffbd80dfd4
diff --git a/cmds/statsd/src/logd/LogEvent.cpp b/cmds/statsd/src/logd/LogEvent.cpp
index 103eb0c..1ef1ab2 100644
--- a/cmds/statsd/src/logd/LogEvent.cpp
+++ b/cmds/statsd/src/logd/LogEvent.cpp
@@ -290,9 +290,9 @@
}
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;
}