mirror of
https://gitee.com/openharmony/account_os_account
synced 2024-11-26 19:50:37 +00:00
fix sysevent
Signed-off-by: steven_q <qichanggui@huawei.com> Change-Id: I84b9cac74e8c4790543eece5329c1d7e8375bc69
This commit is contained in:
parent
08be757ca7
commit
a00ecf2b32
@ -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.",
|
||||||
|
Loading…
Reference in New Issue
Block a user