From: SukHyung, Kang Date: Tue, 30 Apr 2019 06:18:58 +0000 (+0900) Subject: Add item id for event info X-Git-Tag: submit/tizen/20190430.065208~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee5fc4f7c8f871b3ccb2d9f80589866015c257ae;p=platform%2Fcore%2Fapi%2Fnotification.git Add item id for event info Change-Id: I23b2f41a3e1c620be0ce32eb8cebb4276406443a Signed-off-by: SukHyung, Kang --- diff --git a/notification-ex/manager.cc b/notification-ex/manager.cc index 190d3694..8067aa6b 100644 --- a/notification-ex/manager.cc +++ b/notification-ex/manager.cc @@ -63,7 +63,7 @@ Manager::Impl::Impl(Manager* parent, int Manager::Impl::SendNotify(shared_ptr noti, IEventInfo::EventType type) { Bundle serialized = noti->Serialize(); - EventInfo info(type, util::GetAppId(), noti->GetChannel()); + EventInfo info(type, util::GetAppId(), noti->GetChannel(), noti->GetId()); list serialized_list {serialized}; /* Reply to Sender */ diff --git a/notification-ex/reporter.cc b/notification-ex/reporter.cc index 3aaacde4..4a655c01 100644 --- a/notification-ex/reporter.cc +++ b/notification-ex/reporter.cc @@ -58,7 +58,7 @@ Reporter::Impl::Impl(Reporter* parent, int Reporter::Impl::SendNotify(shared_ptr noti, IEventInfo::EventType type) { Bundle serialized = noti->Serialize(); - EventInfo info(type, util::GetAppId(), noti->GetChannel()); + EventInfo info(type, util::GetAppId(), noti->GetChannel(), noti->GetId()); list serialized_list {serialized}; sender_->Notify(info, serialized_list); return info.GetRequestId();