Modify failedNoti doesn't delete issue 34/91034/1 accepted/tizen/common/20161005.165731 accepted/tizen/ivi/20161005.232304 accepted/tizen/mobile/20161005.232325 submit/tizen_common/20161005.104109 submit/tizen_ivi/20161005.104114 submit/tizen_mobile/20161005.104104
authormin7.choi <min7.choi@samsung.com>
Wed, 5 Oct 2016 10:33:53 +0000 (19:33 +0900)
committermin7.choi <min7.choi@samsung.com>
Wed, 5 Oct 2016 10:33:53 +0000 (19:33 +0900)
Change-Id: Icca9df1bd64b631603f710ea1a9811085e575b39
Signed-off-by: min7.choi <min7.choi@samsung.com>
packaging/org.tizen.download-manager.spec
src/download-manager-notification.cpp

index 631c1639c2f82cff63837b608141edd3261e51a2..453a8b2374f5039ab55a193cc11d3f6c64b6332f 100755 (executable)
@@ -1,7 +1,7 @@
 %define _ux_define tizen2.3
 Name:  org.tizen.download-manager
 Summary:       Application for support of the content download
-Version:       0.3.11
+Version:       0.3.12
 Release:       1
 License:       Flora-1.1
 Group:         misc
index 4e65665d71101bae113fb10718ad30ccef4161b4..f06b836e9417b8e065f1bbbcd60a8a96b9265410 100755 (executable)
@@ -483,10 +483,10 @@ void DownloadNoti::addCompleteNoti()
        err = notification_set_image(notiHandle, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR,
                        DM_NOTI_COMPLETED_INDICATOR_ICON_PATH);
 
-       DM_LOGE("[yjkim] path : [%s]", DM_NOTI_COMPLETED_INDICATOR_ICON_PATH);
+       DM_LOGE("Indicator icon path : [%s]", DM_NOTI_COMPLETED_INDICATOR_ICON_PATH);
 
        if (err != NOTIFICATION_ERROR_NONE) {
-               DM_LOGE("[yjkim] Fail to set icon [%d]", err);
+               DM_LOGE("Fail to set icon [%d]", err);
                freeNotiData(notiHandle);
                return;
        }
@@ -543,7 +543,7 @@ void DownloadNoti::addCompleteNoti()
                return;
        }
 
-       freeNotiData(notiHandle);
+       m_notiHandle = notiHandle;
 }
 
 void DownloadNoti::addFailedNoti()
@@ -630,7 +630,7 @@ void DownloadNoti::addFailedNoti()
                return;
        }
 
-       freeNotiData(notiHandle);
+       m_notiHandle = notiHandle;
 }
 
 void DownloadNoti::deleteCompleteNoti()