summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSukHyung, Kang <shine.kang@samsung.com>2019-04-30 15:18:58 +0900
committerSukHyung, Kang <shine.kang@samsung.com>2019-04-30 15:18:58 +0900
commitee5fc4f7c8f871b3ccb2d9f80589866015c257ae (patch)
tree1e96d90192223d58f930d1715e99f137f43eb2c3
parent9aad11ef8c5163a77575c2368499289c72b31d2f (diff)
downloadnotification-ee5fc4f7c8f871b3ccb2d9f80589866015c257ae.tar.gz
notification-ee5fc4f7c8f871b3ccb2d9f80589866015c257ae.tar.bz2
notification-ee5fc4f7c8f871b3ccb2d9f80589866015c257ae.zip
Add item id for event info
Change-Id: I23b2f41a3e1c620be0ce32eb8cebb4276406443a Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
-rw-r--r--notification-ex/manager.cc2
-rw-r--r--notification-ex/reporter.cc2
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<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 */
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<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();