From ee5fc4f7c8f871b3ccb2d9f80589866015c257ae Mon Sep 17 00:00:00 2001 From: "SukHyung, Kang" Date: Tue, 30 Apr 2019 15:18:58 +0900 Subject: Add item id for event info Change-Id: I23b2f41a3e1c620be0ce32eb8cebb4276406443a Signed-off-by: SukHyung, Kang --- notification-ex/manager.cc | 2 +- notification-ex/reporter.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notification-ex/manager.cc b/notification-ex/manager.cc index 190d369..8067aa6 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 3aaacde..4a655c0 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(); -- cgit v1.2.3