DM_LOGD("Failed to create noti");
return;
}
-
+#ifdef OLD
if (!m_item->getThumbnailPath().empty()) {
err = notification_set_image(notiHandle,
NOTIFICATION_IMAGE_TYPE_ICON,
return;
}
}
+#endif
+
+ err = notification_set_image(notiHandle, NOTIFICATION_IMAGE_TYPE_ICON,DM_NOTI_COMPLETED_QUICKPANNEL_ICON_PATH);
+ if (err != NOTIFICATION_ERROR_NONE) {
+ DM_LOGE("Fail to set icon [%d]", err);
+ freeNotiData(notiHandle);
+ return;
+ }
err = notification_set_image(notiHandle, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR,
DM_NOTI_COMPLETED_INDICATOR_ICON_PATH);
#define DM_NOTI_COMPLETED_INDICATOR_ICON_PATH IMAGEDIR"/B03_processing_download_completed.png"
#endif
+#define DM_NOTI_COMPLETED_QUICKPANNEL_ICON_PATH "/usr/apps/org.tizen.quickpanel/shared/res/noti_icons/Common/noti_download_complete.png"
+
// Other defines
#define MAX_FILE_PATH_LEN 256
#define MAX_BUF_LEN 256