diff options
author | Leon Scroggins III <scroggo@google.com> | 2022-02-24 12:18:58 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2022-02-24 12:21:11 -0500 |
commit | 6455e797c6a97f653cd69316462937ee5085eede (patch) | |
tree | fd3f4c7b525649a5e998b52c4269f67943c8fc3c /graphics | |
parent | 51aa86c095da700219c3f93a874dd9b5e359824a (diff) |
getDisplayDecorationSupport: expect IComposerClient::EX_UNSUPPORTED
This is the error returned by cuttlefish, not EX_UNSUPPORTED_OPERATION.
This also matches other tests, e.g. SetDisplayBrightness.
Bug: 209458568
Test: this
Change-Id: I885767c4f1c42edfb11359b36852a863cbc8b0ed
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp b/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp index 74a8a57e22..68ec7e813d 100644 --- a/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp +++ b/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_TargetTest.cpp @@ -1655,7 +1655,7 @@ TEST_P(GraphicsComposerAidlCommandTest, DisplayDecoration) { } else { const auto errors = mReader.takeErrors(); ASSERT_EQ(1, errors.size()); - EXPECT_EQ(EX_UNSUPPORTED_OPERATION, errors[0].errorCode); + EXPECT_EQ(IComposerClient::EX_UNSUPPORTED, errors[0].errorCode); const auto changedTypes = mReader.takeChangedCompositionTypes(display.getDisplayId()); ASSERT_EQ(1u, changedTypes.size()); |