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

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

Merge "camera-vts: don't import gralloc buffer after allocating"

parents 0f2ba630 3b6cfe06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6309,7 +6309,7 @@ void CameraHidlTest::allocateGraphicBuffer(uint32_t width, uint32_t height, uint
    buffer_handle_t buffer;
    uint32_t stride;

    android::status_t err = android::GraphicBufferAllocator::get().allocate(
    android::status_t err = android::GraphicBufferAllocator::get().allocateRawHandle(
            width, height, static_cast<int32_t>(format), 1u /*layerCount*/, usage, &buffer, &stride,
            "VtsHalCameraProviderV2_4");
    ASSERT_EQ(err, android::NO_ERROR);