Fix atom id annotation parsing
Bug: 152633444 Test: m -j cts && m -j CtsStatsdHostTestCases && cts-tradefed run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.atom.UidAtomTests#testAudioState Test: bit statsd_test:* Change-Id: I167012330e431b38b86f190ca6b5d4f90995172f
This commit is contained in:
@@ -504,12 +504,12 @@ bool LogEvent::parseBuffer(uint8_t* buf, size_t len) {
|
||||
typeInfo = readNextValue<uint8_t>();
|
||||
if (getTypeId(typeInfo) != INT64_TYPE) mValid = false;
|
||||
mElapsedTimestampNs = readNextValue<int64_t>();
|
||||
parseAnnotations(getNumAnnotations(typeInfo)); // atom-level annotations
|
||||
numElements--;
|
||||
|
||||
typeInfo = readNextValue<uint8_t>();
|
||||
if (getTypeId(typeInfo) != INT32_TYPE) mValid = false;
|
||||
mTagId = readNextValue<int32_t>();
|
||||
parseAnnotations(getNumAnnotations(typeInfo)); // atom-level annotations
|
||||
numElements--;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user