mirror of
https://gitee.com/openharmony/powermgr_battery_manager
synced 2024-12-29 01:54:55 +00:00
fix: modify delay time
Signed-off-by: hxf233333 <huxiaofei11@huawei.com>
This commit is contained in:
parent
da739f4c63
commit
7b17fbf6a9
@ -39,7 +39,7 @@ int BatterySrvStub::OnRemoteRequest(uint32_t code, MessageParcel& data, MessageP
|
||||
return E_GET_POWER_SERVICE_FAILED;
|
||||
}
|
||||
|
||||
const int DFX_DELAY_S = 10;
|
||||
const int DFX_DELAY_S = 60;
|
||||
int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryManagerCallbackStub", DFX_DELAY_S, nullptr, nullptr,
|
||||
HiviewDFX::XCOLLIE_FLAG_LOG);
|
||||
int32_t ret = CheckRequestCode(code, data, reply, option);
|
||||
|
Loading…
Reference in New Issue
Block a user