From 6623cec1ccec330824bd9d04a16887a25b9d687a Mon Sep 17 00:00:00 2001 From: kaiju Date: Tue, 29 Jul 2025 15:12:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=87=AD=E6=8D=AE=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E5=B9=BF=E6=92=AD=E5=A2=9E=E5=8A=A0isSilentCredChange=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: kaiju Change-Id: I859adbba0ce3d269594c7fa5ab779b1c2f00e5f1 --- services/core/src/publish_event_adapter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/core/src/publish_event_adapter.cpp b/services/core/src/publish_event_adapter.cpp index 01053bbc4..14c646641 100644 --- a/services/core/src/publish_event_adapter.cpp +++ b/services/core/src/publish_event_adapter.cpp @@ -29,6 +29,7 @@ const std::string TAG_USERID = "userId"; const std::string TAG_AUTHTYPE = "authType"; const std::string TAG_CREDENTIALCOUNT = "credentialCount"; const std::string TAG_SCHEDULEID = "scheduleId"; +const std::string TAG_IS_SILENT_CRED_CHANGE = "isSilentCredChange"; const std::string USER_PIN_CREATED_EVENT = "USER_PIN_CREATED_EVENT"; const std::string USER_PIN_DELETED_EVENT = "USER_PIN_DELETED_EVENT"; const std::string USER_PIN_UPDATED_EVENT = "USER_PIN_UPDATED_EVENT"; @@ -92,6 +93,7 @@ void PublishEventAdapter::PublishUpdatedEvent(int32_t userId, uint64_t credentia EventFwk::Want want; want.SetAction(USER_PIN_UPDATED_EVENT); want.SetParam(TAG_SCHEDULEID, std::to_string(scheduleId_)); + want.SetParam(TAG_IS_SILENT_CRED_CHANGE, std::to_string(credChangeEventInfo_.isSilentCredChange)); EventFwk::CommonEventData data(want); data.SetCode(userId); PublishEvent(data, USERIAM_COMMON_EVENT_SAMGR_PERMISSION); -- Gitee