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

Commit b3b191e3 authored by Joe Onorato's avatar Joe Onorato Committed by android-build-merger
Browse files

Merge changes I4b58610f,Ib758756a into oc-dev

am: a9873bc8

Change-Id: I07b352ee11492718ee2abb76d48937f39f17125c
parents 962b4ad2 a9873bc8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1593,7 +1593,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 +1720,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 +1785,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) {
+3 −1
Original line number Diff line number Diff line
@@ -180,7 +180,9 @@ public class SparseMappingTableTest extends TestCase {

        try {
            table.getValue(key);
            throw new Exception("Exception not thrown after mismatched reset calls.");
            // Turn off this assertion because the check in SparseMappingTable.assertConsistency
            // is also turned off.
            //throw new Exception("Exception not thrown after mismatched reset calls.");
        } catch (RuntimeException ex) {
            // Good
        }