[TSAM-9359] reset thumbnail path if user profile image doesn't exist 05/96505/1 accepted/tizen/common/20161109.140803 accepted/tizen/ivi/20161110.001759 accepted/tizen/mobile/20161110.001743 accepted/tizen/wearable/20161110.001754 submit/tizen/20161109.073107
authorKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 9 Nov 2016 07:26:46 +0000 (16:26 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Wed, 9 Nov 2016 07:26:46 +0000 (16:26 +0900)
Change-Id: Ife0423d9d6bb443ca376c46b0da17f1aab2ca8a5
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
manager/src/msg-manager-notification.cpp

index eea62c9..c2b7ce1 100644 (file)
@@ -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;