Add Get by a channel feature 07/209107/1
authorhyunho <hhstark.kang@samsung.com>
Tue, 2 Jul 2019 08:08:38 +0000 (17:08 +0900)
committerhyunho <hhstark.kang@samsung.com>
Tue, 2 Jul 2019 08:08:38 +0000 (17:08 +0900)
Change-Id: Ic27b128bd08dd7969f534174d155b9bc91f12fb4
Signed-off-by: hyunho <hhstark.kang@samsung.com>
src/notification_ex_service.cc

index a16d1983dde9e8062e811f1ea500f7ea9f3af2b9..b9f44f40d5bf00cd225d40d3bef2ee83408edfb1 100755 (executable)
@@ -155,7 +155,9 @@ class DPMReporter : public Reporter {
 
   list<shared_ptr<item::AbstractItem>> OnRequestEvent(const IEventInfo& info) override {
     DBG("Get report !!! %s", info.GetItemId().c_str());
-    return DBManager::GetNotificationList(((const IEventInfoInternal&)info).GetUid());
+    return DBManager::GetNotificationList(
+        ((const IEventInfoInternal&)info).GetUid(),
+        ((const IEventInfoInternal&)info).GetChannel().c_str());
   }
 
   int OnRequestNumber(const IEventInfo& info) override {