summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSukHyung Kang <shine.kang@samsung.com>2019-04-30 06:45:32 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2019-04-30 06:45:32 +0000
commit5677515edcb34b2004af0783fec7f270b7e2e87d (patch)
tree1c6c78e0563cb9676f07229cca0231454741cd6c
parent5fc777d597b4717cc6d0ebb150c482470bf26033 (diff)
parentee5fc4f7c8f871b3ccb2d9f80589866015c257ae (diff)
downloadnotification-5677515edcb34b2004af0783fec7f270b7e2e87d.tar.gz
notification-5677515edcb34b2004af0783fec7f270b7e2e87d.tar.bz2
notification-5677515edcb34b2004af0783fec7f270b7e2e87d.zip
Merge "Add item id for event info" into tizen
-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();