Fix native stats_event logging
pass the byte array pointer; not the reference to the pointer. Also turn on new socket protocol. Bug: 148909969 Bug: 143979391 Test: m Test: fastboot flashall Test: atest android.cts.statsd.atom.UidAtomTests#testLmkKillOccurred Test: atest LibStatsPullTests Test: atest GtsStatsdHostTestCases Change-Id: If7abae5cadb036555540d1b9b5e7f2cabe99beb8
This commit is contained in:
parent
f49c38beb5
commit
b173a95ae8
1 changed files with 2 additions and 2 deletions
|
|
@ -324,5 +324,5 @@ void AStatsEvent_build(AStatsEvent* event) {
|
|||
|
||||
int AStatsEvent_write(AStatsEvent* event) {
|
||||
AStatsEvent_build(event);
|
||||
return write_buffer_to_statsd(&event->buf, event->size, event->atomId);
|
||||
}
|
||||
return write_buffer_to_statsd(event->buf, event->size, event->atomId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue