Merge "Fix getDisplayCapabilitiesBasic VTS test" into qt-dev
am: 767a57fb19
Change-Id: I9477c6015409156e1d184ae70c15630e77f44025
This commit is contained in:
commit
18af76ef9f
1 changed files with 2 additions and 4 deletions
|
@ -192,10 +192,8 @@ Error ComposerClient::getDisplayCapabilities(
|
|||
|
||||
bool ComposerClient::getDisplayBrightnessSupport(Display display) {
|
||||
bool support = false;
|
||||
mClient->getDisplayBrightnessSupport(display, [&](const auto& error, const auto& tmpSupport) {
|
||||
ASSERT_EQ(Error::NONE, error) << "failed to get brightness support";
|
||||
support = tmpSupport;
|
||||
});
|
||||
mClient->getDisplayBrightnessSupport(
|
||||
display, [&](const auto& /*error*/, const auto& tmpSupport) { support = tmpSupport; });
|
||||
return support;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue