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

Commit 7cc876ee authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Camera HAL Vts : Fix usage flag combination during gralloc allocation."...

Merge "Camera HAL Vts : Fix usage flag combination during gralloc allocation." into stage-aosp-rvc-ts-dev
parents 9e96af4a ef9374cb
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -4453,8 +4453,11 @@ void CameraHidlTest::processCaptureRequestInternal(uint64_t bufferUsage,
                            nullptr};
        } else {
            allocateGraphicBuffer(testStream.width, testStream.height,
                    android_convertGralloc1To0Usage(halStreamConfig.streams[0].producerUsage,
                        halStreamConfig.streams[0].consumerUsage),
                                  /* We don't look at halStreamConfig.streams[0].consumerUsage
                                   * since that is 0 for output streams
                                   */
                                  android_convertGralloc1To0Usage(
                                          halStreamConfig.streams[0].producerUsage, bufferUsage),
                                  halStreamConfig.streams[0].overrideFormat, &buffer_handle);
            outputBuffer = {halStreamConfig.streams[0].id,
                            bufferId,