summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2022-02-25 13:11:38 -0500
committerLeon Scroggins III <scroggo@google.com>2022-02-25 13:17:10 -0500
commit68b9acc4fea1173cc75276a57552c3d64c733cd3 (patch)
tree3034ac69c150844f60057e1a01478c4e5daba7a2
parenta2bf9cdae4adee23b14d07a8d80f301b9e0af251 (diff)
DisplayDecoration VTS: remove expected changed composition types
If validateDisplay returns an error, changed composition types are not propagated back to the caller. Remove the expectation that they will be. Fixes: 221406264 Test: this Change-Id: I3e07e40b0c12a2cf6eaa685435647aab93172bb0
-rw-r--r--graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp b/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp
index 68ec7e813d..bfb6b85d12 100644
--- a/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp
+++ b/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp
@@ -1656,11 +1656,6 @@ TEST_P(GraphicsComposerAidlCommandTest, DisplayDecoration) {
const auto errors = mReader.takeErrors();
ASSERT_EQ(1, errors.size());
EXPECT_EQ(IComposerClient::EX_UNSUPPORTED, errors[0].errorCode);
-
- const auto changedTypes = mReader.takeChangedCompositionTypes(display.getDisplayId());
- ASSERT_EQ(1u, changedTypes.size());
- const auto changedType = changedTypes[0].composition;
- EXPECT_TRUE(changedType == Composition::DEVICE || changedType == Composition::CLIENT);
}
}
}