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

Commit 3d9a26c2 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "gralloc4-vts: don't wait on invalid sync fence" into rvc-dev am: a66c632f am: e3db0378

Change-Id: Ic50eb56d09598b8db3671faac73c018102f20be9
parents 37b8311b e3db0378
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -727,8 +727,10 @@ TEST_P(GraphicsMapperHidlTest, FlushRereadBasic) {

    int fence;
    ASSERT_NO_FATAL_FAILURE(fence = mGralloc->flushLockedBuffer(writeBufferHandle));
    if (fence >= 0) {
        ASSERT_EQ(0, sync_wait(fence, 3500));
        close(fence);
    }

    ASSERT_NO_FATAL_FAILURE(mGralloc->rereadLockedBuffer(readBufferHandle));