add config

Signed-off-by: zhangwenzhi <zhangwenzhi3@huawei.com>
This commit is contained in:
zhang-wenzhi821 2024-05-09 21:02:58 +08:00
parent b770d17a13
commit 68e2fb1423
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,9 @@
{ "name": "usual.event.PACKAGE_REMOVED" },
{ "name": "usual.event.SANDBOX_PACKAGE_REMOVED" },
{ "name": "usual.event.USER_REMOVED" },
{ "name": "usual.event.CHARGING" }
{ "name": "usual.event.CHARGING" },
{ "name": "usual.event.USER_UNLOCKED" },
{ "name": "COMMON_EVENT_RESTORE_START" }
]
}
}

View File

@ -97,7 +97,7 @@ public:
this->eventCallBack->onUserUnlocked(userId);
}
LOGI("[INFO]Receive event: RESTORE_START, start_time: %{public}ld", startTime);
LOGI("[INFO]Receive event: USER_UNLOCKED, start_time: %{public}ld", startTime);
} else {
LOGW("[WARNING]Receive unknown event: %{public}s", action.c_str());
}