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
This commit is contained in:
parent
a2bf9cdae4
commit
68b9acc4fe
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue