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

Commit fd79e2e6 authored by Yi Jin's avatar Yi Jin Committed by android-build-merger
Browse files

Merge "Merge "Fix apct test." into pi-dev am: 9451c893" into pi-dev-plus-aosp

am: dabba75a

Change-Id: I226dae2d6eabec7a0ccd2c816ebd932775c2e235
parents 49664e71 dabba75a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -374,9 +374,9 @@ status_t GZipSection::Execute(ReportRequestSet* requests) const {
    // ProtoOutputStream is to avoid allocation of another buffer inside ProtoOutputStream.
    EncodedBuffer* internalBuffer = buffer.getInternalBuffer();
    internalBuffer->writeHeader((uint32_t)GZippedFileProto::FILENAME, WIRE_TYPE_LENGTH_DELIMITED);
    String8 usedFile(mFilenames[index]);
    internalBuffer->writeRawVarint32(usedFile.size());
    for (size_t i = 0; i < usedFile.size(); i++) {
    size_t fileLen = strlen(mFilenames[index]);
    internalBuffer->writeRawVarint32(fileLen);
    for (size_t i = 0; i < fileLen; i++) {
        internalBuffer->writeRawByte(mFilenames[index][i]);
    }
    internalBuffer->writeHeader((uint32_t)GZippedFileProto::GZIPPED_DATA,