!581 fix: 整改xcollie flag

Merge pull request !581 from hxf233333/br_batteryinfo
This commit is contained in:
openharmony_ci 2024-08-10 09:27:07 +00:00 committed by Gitee
commit 49145e8a95
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -41,7 +41,7 @@ int BatterySrvStub::OnRemoteRequest(uint32_t code, MessageParcel& data, MessageP
const int DFX_DELAY_S = 10;
int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryManagerCallbackStub", DFX_DELAY_S, nullptr, nullptr,
HiviewDFX::XCOLLIE_FLAG_NOOP);
HiviewDFX::XCOLLIE_FLAG_LOG);
int32_t ret = CheckRequestCode(code, data, reply, option);
HiviewDFX::XCollie::GetInstance().CancelTimer(id);
return ret;