Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00763a3b authored by Ruchir Rastogi's avatar Ruchir Rastogi
Browse files

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
parent fb07fc02
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}

+0 −1
Original line number Diff line number Diff line
@@ -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>