mirror of
https://gitee.com/openharmony/accessibility
synced 2024-11-23 15:01:17 +00:00
fix:add a 'duration' parameter to the overrideBrightness and restoreBrightness interfaces.
Signed-off-by: xuedong <xuedong@huawei.com>
This commit is contained in:
parent
f7d3ce90b7
commit
f52e15d0c7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user