Add item id for event info 87/205187/1
authorSukHyung, Kang <shine.kang@samsung.com>
Tue, 30 Apr 2019 06:18:58 +0000 (15:18 +0900)
committerSukHyung, Kang <shine.kang@samsung.com>
Tue, 30 Apr 2019 06:18:58 +0000 (15:18 +0900)
Change-Id: I23b2f41a3e1c620be0ce32eb8cebb4276406443a
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
notification-ex/manager.cc
notification-ex/reporter.cc

index 190d3694aaecc05629fd7dd38eef2025fa331bbd..8067aa6b9e6b7ab7f9cf684ada082fe6ed124e94 100644 (file)
@@ -63,7 +63,7 @@ Manager::Impl::Impl(Manager* parent,
 int Manager::Impl::SendNotify(shared_ptr<item::AbstractItem> 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<Bundle> serialized_list {serialized};
 
   /* Reply to Sender */
index 3aaacde4363b041063d1b2854574ba4061aa03fc..4a655c012dea834e93d3cd8d5ebb0428ec4b453b 100644 (file)
@@ -58,7 +58,7 @@ Reporter::Impl::Impl(Reporter* parent,
 int Reporter::Impl::SendNotify(shared_ptr<item::AbstractItem> 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<Bundle> serialized_list {serialized};
   sender_->Notify(info, serialized_list);
   return info.GetRequestId();