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
This commit is contained in:
Ruchir Rastogi
2020-02-14 13:07:44 -08:00
parent fb07fc0284
commit 00763a3bee
2 changed files with 2 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -20,7 +20,6 @@
#include <android/util/ProtoOutputStream.h>
#include <private/android_logger.h>
#include <stats_event_list.h>
#include <stats_event.h>
#include <string>