commit | 710a50ae6b4c34c73c7227be708120f89412d730 | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Fri Jan 21 21:17:31 2022 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Jan 21 21:17:31 2022 +0000 |
tree | 343b794be28169071c59f83b30fcd2460de76511 | |
parent | e07b96cd923784caf952c79e03fe89e3b6a861f8 [diff] | |
parent | 62ae37be3cbab314076c531435f52db91c3cc061 [diff] |
Merge "Fix asserts for GetReadbackBufferFenceInactive"
diff --git a/graphics/composer/aidl/android/hardware/graphics/composer3/vts/functional/VtsHalGraphicsComposer3_ReadbackTest.cpp b/graphics/composer/aidl/android/hardware/graphics/composer3/vts/functional/VtsHalGraphicsComposer3_ReadbackTest.cpp index fc527ec..3f1e703 100644 --- a/graphics/composer/aidl/android/hardware/graphics/composer3/vts/functional/VtsHalGraphicsComposer3_ReadbackTest.cpp +++ b/graphics/composer/aidl/android/hardware/graphics/composer3/vts/functional/VtsHalGraphicsComposer3_ReadbackTest.cpp
@@ -521,8 +521,9 @@ ndk::ScopedFileDescriptor releaseFence; const auto error = mComposerClient->getReadbackBufferFence(mPrimaryDisplay, &releaseFence); - EXPECT_TRUE(error.isOk()); + ASSERT_FALSE(error.isOk()); EXPECT_EQ(IComposerClient::EX_UNSUPPORTED, error.getServiceSpecificError()); + EXPECT_EQ(-1, releaseFence.get()); } TEST_P(GraphicsCompositionTest, ClientComposition) {