mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Fix getDisplayCapabilitiesBasic VTS test" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
767a57fb19
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user