diff --git a/services/core/src/publish_event_adapter.cpp b/services/core/src/publish_event_adapter.cpp index 01053bbc42bd732d128a5903b786fd1aab3168cf..14c646641b8e8a5156236b08ca44f864f22da0d3 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);