Merge "Fix atom id annotation parsing" into rvc-dev am: 4efa78539d am: 1c23c38939 am: d171e043c5

Change-Id: I6027a44520836c91bfa42b564a5b2650972ee952
This commit is contained in:
TreeHugger Robot
2020-03-27 23:02:39 +00:00
committed by Automerger Merge Worker

View File

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