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

Commit 73a3c522 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8693000 from b3f0ddab to tm-release

Change-Id: I0644883c6c642a994c254642a6394740708c5de2
parents c2578edb b3f0ddab
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -375,9 +375,11 @@ status_t Camera3OutputStream::fixUpHidlJpegBlobHeader(ANativeWindowBuffer* anwBu
    }

    // Fill in JPEG header
    CameraBlob *aidlBlobHeader = reinterpret_cast<CameraBlob *>(aidlHeaderStart);
    aidlBlobHeader->blobId = blobId;
    aidlBlobHeader->blobSizeBytes = blobSizeBytes;
    CameraBlob aidlHeader = {
            .blobId = blobId,
            .blobSizeBytes = static_cast<int32_t>(blobSizeBytes)
    };
    memcpy(aidlHeaderStart, &aidlHeader, sizeof(CameraBlob));
    graphicBuffer->unlock();
    return OK;
}