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:
Leon Scroggins III 2022-02-25 13:11:38 -05:00
parent a2bf9cdae4
commit 68b9acc4fe

View file

@ -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);
}
}
}