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

Commit 68b9acc4 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

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
parent a2bf9cda
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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);
        }
    }
}