fix sysevent

Signed-off-by: steven_q <qichanggui@huawei.com>
Change-Id: I84b9cac74e8c4790543eece5329c1d7e8375bc69
This commit is contained in:
steven_q 2024-10-21 11:10:50 +08:00
parent 08be757ca7
commit a00ecf2b32

View File

@ -135,7 +135,7 @@ void ReportOsAccountLifeCycle(int32_t id, const std::string& operationStr)
#ifdef HAS_HISYSEVENT_PART #ifdef HAS_HISYSEVENT_PART
int ret = HiSysEventWrite(HiSysEvent::Domain::ACCOUNT, "OS_ACCOUNT_LIFE_CYCLE", int ret = HiSysEventWrite(HiSysEvent::Domain::ACCOUNT, "OS_ACCOUNT_LIFE_CYCLE",
HiSysEvent::EventType::BEHAVIOR, HiSysEvent::EventType::BEHAVIOR,
"ACCOUNT_ID", id, "ID", id,
"OPERATE_TYPE", operationStr); "OPERATE_TYPE", operationStr);
if (ret != 0) { if (ret != 0) {
ACCOUNT_LOGE("ret %{public}d, operationStr %{public}s, id %{public}d.", ACCOUNT_LOGE("ret %{public}d, operationStr %{public}s, id %{public}d.",