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

Commit c70f1c78 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 am: 4181fe23 am: 03a62829 am: 7941bf02

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

Change-Id: I9dad2aacd376239427dd1a84c0e93132d5a55b9a
parents ed990f6c 7941bf02
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,