Fix bug in statsd_test
Test was calling write instead of release Test: atest statsd_test Bug: 155438557 Change-Id: I13fc7ed8fad936e9f21d07dd0cd75c641153fead
This commit is contained in:
@@ -1339,7 +1339,7 @@ Status FakeSubsystemSleepCallback::onPullAtom(int atomTag,
|
||||
// stats_event.h/c uses a vector as opposed to a buffer.
|
||||
p.buffer.assign(buffer, buffer + size);
|
||||
parcels.push_back(std::move(p));
|
||||
AStatsEvent_write(event);
|
||||
AStatsEvent_release(event);
|
||||
}
|
||||
resultReceiver->pullFinished(atomTag, /*success=*/true, parcels);
|
||||
return Status::ok();
|
||||
|
||||
Reference in New Issue
Block a user