From: SeungWon Lee Date: Wed, 17 Jul 2013 10:39:30 +0000 (+0900) Subject: Modify the argument of notification_load for core-notification module requests. ... X-Git-Tag: accepted/tizen/20130912.150013^2~26 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fframework%2Fnative%2Fshell.git;a=commitdiff_plain;h=c85a70a10d265aca6766267dd15e502d8a798027 Modify the argument of notification_load for core-notification module requests. (null -> AppId) Change-Id: I7b50f76038619eab6ce6c6d2ec5fdb33bd2b6797 Signed-off-by: SeungWon Lee --- diff --git a/src/core/FShell_NotificationManagerImpl.cpp b/src/core/FShell_NotificationManagerImpl.cpp index 653844d..a84a6f4 100644 --- a/src/core/FShell_NotificationManagerImpl.cpp +++ b/src/core/FShell_NotificationManagerImpl.cpp @@ -985,7 +985,8 @@ _NotificationManagerImpl::RemoveNotification(bool onGoing) if (notiPrivateId != -1) { - notification_h notiHandle = notification_load(null, notiPrivateId); + std::unique_ptr pAppIdTemp(_StringConverter::CopyToCharArrayN(__lastAppId)); + notification_h notiHandle = notification_load(pAppIdTemp.get(), notiPrivateId); if (notiHandle) { err = notification_delete(notiHandle);