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

Commit c7ef8fe1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
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 am: 7cc876ee am: 314611d1

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12173503

Change-Id: I040deb56a223492e61eedce00464dbf94617aa88
parents 8a3f8fcb 314611d1
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,