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

Commit 9c1b9fe2 authored by Mark Yacoub's avatar Mark Yacoub Committed by Android (Google) Code Review
Browse files

Merge "VTS: Use invalid display ID for reader in DestroyBatchedCommand_BadDisplay" into main

parents 9bcef48f 1c3773ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3276,7 +3276,7 @@ TEST_P(GraphicsComposerAidlCommandV3Test, DestroyBatchedCommand_BadDisplay) {
        invalid_writer.setLayerLifecycleBatchCommandType(getInvalidDisplayId(), layer,
                                                         LayerLifecycleBatchCommandType::DESTROY);
        execute();
        const auto errors = getReader(display.getDisplayId()).takeErrors();
        const auto errors = getReader(getInvalidDisplayId()).takeErrors();
        ASSERT_TRUE(errors.size() == 1 && errors[0].errorCode == IComposerClient::EX_BAD_DISPLAY);
    }
}