Fix find_by_channel bug 96/234496/1
authorJusung Son <jusung07.son@samsung.com>
Wed, 27 May 2020 01:51:04 +0000 (10:51 +0900)
committerJusung Son <jusung07.son@samsung.com>
Wed, 27 May 2020 01:51:04 +0000 (10:51 +0900)
Change-Id: I43ab6c0c3494e174410f4f566573d366e6379be1
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
notification-ex/stub.cc

index 4f6fb0c..ee96857 100644 (file)
@@ -3275,6 +3275,7 @@ extern "C" EXPORT_API int noti_ex_reporter_find_by_channel(noti_ex_reporter_h ha
     if (list_ptr.empty()) {
       LOGW("Not exist ID");
       *noti_list = nullptr;
+      *count = 0;
       return NOTI_EX_ERROR_NONE;
     }