diff --git a/cmds/statsd/src/logd/LogEvent.cpp b/cmds/statsd/src/logd/LogEvent.cpp index b515d0a5b72f5..3b3d0b64bfb32 100644 --- a/cmds/statsd/src/logd/LogEvent.cpp +++ b/cmds/statsd/src/logd/LogEvent.cpp @@ -504,12 +504,12 @@ bool LogEvent::parseBuffer(uint8_t* buf, size_t len) { typeInfo = readNextValue(); if (getTypeId(typeInfo) != INT64_TYPE) mValid = false; mElapsedTimestampNs = readNextValue(); - parseAnnotations(getNumAnnotations(typeInfo)); // atom-level annotations numElements--; typeInfo = readNextValue(); if (getTypeId(typeInfo) != INT32_TYPE) mValid = false; mTagId = readNextValue(); + parseAnnotations(getNumAnnotations(typeInfo)); // atom-level annotations numElements--;