fix:add a 'duration' parameter to the overrideBrightness and restoreBrightness interfaces.

Signed-off-by: xuedong <xuedong@huawei.com>
This commit is contained in:
xuedong 2024-10-31 18:25:03 +08:00
parent f7d3ce90b7
commit f52e15d0c7

View File

@ -70,16 +70,18 @@ bool DisplayPowerMgrClient::DiscountBrightness(double discount, uint32_t display
return true;
}
bool DisplayPowerMgrClient::OverrideBrightness(uint32_t value, uint32_t displayId)
bool DisplayPowerMgrClient::OverrideBrightness(uint32_t value, uint32_t displayId, uint32_t duration)
{
(void)value;
(void)displayId;
(void)duration;
return true;
}
bool DisplayPowerMgrClient::RestoreBrightness(uint32_t displayId)
bool DisplayPowerMgrClient::RestoreBrightness(uint32_t displayId, uint32_t duration)
{
(void)displayId;
(void)duration;
return true;
}