Commit 4be139dc authored by Max Cai's avatar Max Cai Committed by Android Git Automerger

am a76831c3: Merge "Fix how getRepeatedFieldArrayLength works"

* commit 'a76831c3629c3c1a9900984f3aea6306dbf0734c':
  Fix how getRepeatedFieldArrayLength works
parents 33824b0f ec0e1c00
......@@ -113,11 +113,7 @@ public final class WireFormatNano {
int arrayLength = 1;
int startPos = input.getPosition();
input.skipField(tag);
while (input.getBytesUntilLimit() > 0) {
int thisTag = input.readTag();
if (thisTag != tag) {
break;
}
while (input.readTag() == tag) {
input.skipField(tag);
arrayLength++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment