Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53610791 authored by Joe Onorato's avatar Joe Onorato
Browse files

Fix typos that cause infinite recursion and CTS test failure.

Bug: 37171450
Test: bit CtsProtoTestCases:*
Change-Id: Ib758756a64fa19eb976dc0a2b1bb1cd6e42fd6f2
parent 0941be7c
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * Class to write to a protobuf stream.
@@ -1593,7 +1592,7 @@ public final class ProtoOutputStream {
        assertNotCompacted();
        final int id = checkFieldId(fieldId, FIELD_COUNT_REPEATED | FIELD_TYPE_FIXED64);

        writeRepeatedFixed64(id, val);
        writeRepeatedFixed64Impl(id, val);
    }

    private void writeRepeatedFixed64Impl(int id, long val) {
@@ -1720,7 +1719,7 @@ public final class ProtoOutputStream {
        assertNotCompacted();
        final int id = checkFieldId(fieldId, FIELD_COUNT_REPEATED | FIELD_TYPE_SFIXED64);

        writeRepeatedSFixed64(id, val);
        writeRepeatedSFixed64Impl(id, val);
    }

    private void writeRepeatedSFixed64Impl(int id, long val) {
@@ -1785,7 +1784,7 @@ public final class ProtoOutputStream {
        assertNotCompacted();
        final int id = checkFieldId(fieldId, FIELD_COUNT_REPEATED | FIELD_TYPE_BOOL);

        writeRepeatedBool(id, val);
        writeRepeatedBoolImpl(id, val);
    }

    private void writeRepeatedBoolImpl(int id, boolean val) {