From: Kyeonghun Lee Date: Wed, 9 Nov 2016 07:26:46 +0000 (+0900) Subject: [TSAM-9359] reset thumbnail path if user profile image doesn't exist X-Git-Tag: accepted/tizen/ivi/20161110.001759 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67d52d33d0b69e76b7899f8b22ddbab9250bb683;p=platform%2Fcore%2Fmessaging%2Fmsg-service.git [TSAM-9359] reset thumbnail path if user profile image doesn't exist Change-Id: Ife0423d9d6bb443ca376c46b0da17f1aab2ca8a5 Signed-off-by: Kyeonghun Lee --- diff --git a/manager/src/msg-manager-notification.cpp b/manager/src/msg-manager-notification.cpp index eea62c9..c2b7ce1 100644 --- a/manager/src/msg-manager-notification.cpp +++ b/manager/src/msg-manager-notification.cpp @@ -1097,6 +1097,8 @@ void setIcon(notification_h noti_h, MSG_MGR_NOTI_INFO_S *noti_info) } else { setNotiImage(noti_h, NOTIFICATION_IMAGE_TYPE_ICON_FOR_LOCK, MSG_NO_CONTACT_PROFILE_ICON_PATH); setNotiImage(noti_h, NOTIFICATION_IMAGE_TYPE_ICON, MSG_NO_CONTACT_PROFILE_ICON_PATH); + /* TSAM-9359 : priority of image selection on quickpanel, thumbnail is higher. So set NOTIFICATION_IMAGE_TYPE_THUMBNAIL with null */ + setNotiImage(noti_h, NOTIFICATION_IMAGE_TYPE_THUMBNAIL, NULL); } char *msg_icon_path = NULL;