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

Commit fe47f3dc authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 9654363 from 08212492 to udc-release

Change-Id: I0cf79d86ce803078d292a5258c2fb268042e14b4
parents 24c27e11 08212492
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -874,6 +874,13 @@ TEST_P(GraphicsComposerAidlTest, GetDisplayName) {
}

TEST_P(GraphicsComposerAidlTest, GetOverlaySupport) {
    const auto& [versionStatus, version] = mComposerClient->getInterfaceVersion();
    ASSERT_TRUE(versionStatus.isOk());
    if (version == 1) {
        GTEST_SUCCEED() << "Device does not support the new API for overlay support";
        return;
    }

    const auto& [status, properties] = mComposerClient->getOverlaySupport();
    if (!status.isOk() && status.getExceptionCode() == EX_SERVICE_SPECIFIC &&
        status.getServiceSpecificError() == IComposerClient::EX_UNSUPPORTED) {