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

Commit 767a57fb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix getDisplayCapabilitiesBasic VTS test" into qt-dev

parents 34f36713 80485717
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -192,10 +192,8 @@ Error ComposerClient::getDisplayCapabilities(


bool ComposerClient::getDisplayBrightnessSupport(Display display) {
bool ComposerClient::getDisplayBrightnessSupport(Display display) {
    bool support = false;
    bool support = false;
    mClient->getDisplayBrightnessSupport(display, [&](const auto& error, const auto& tmpSupport) {
    mClient->getDisplayBrightnessSupport(
        ASSERT_EQ(Error::NONE, error) << "failed to get brightness support";
            display, [&](const auto& /*error*/, const auto& tmpSupport) { support = tmpSupport; });
        support = tmpSupport;
    });
    return support;
    return support;
}
}