Modify the argument of notification_load for core-notification module requests. ...
authorSeungWon Lee <lsw2000.lee@samsung.com>
Wed, 17 Jul 2013 10:39:30 +0000 (19:39 +0900)
committerSeungWon Lee <lsw2000.lee@samsung.com>
Wed, 17 Jul 2013 10:39:30 +0000 (19:39 +0900)
Change-Id: I7b50f76038619eab6ce6c6d2ec5fdb33bd2b6797
Signed-off-by: SeungWon Lee <lsw2000.lee@samsung.com>
src/core/FShell_NotificationManagerImpl.cpp

index 653844d..a84a6f4 100644 (file)
@@ -985,7 +985,8 @@ _NotificationManagerImpl::RemoveNotification(bool onGoing)
 
        if (notiPrivateId != -1)
        {
-               notification_h notiHandle = notification_load(null, notiPrivateId);
+               std::unique_ptr<char[]> pAppIdTemp(_StringConverter::CopyToCharArrayN(__lastAppId));
+               notification_h notiHandle = notification_load(pAppIdTemp.get(), notiPrivateId);
                if (notiHandle)
                {
                        err = notification_delete(notiHandle);