Change-Id: If6fa903b55dbd314849fddeb1503c7521314f357
Signed-off-by: Chakradhar <v.pogiri@samsung.com>
}
int activated_conv_id = -1;
- MsgSettingGetInt(VCONFKEY_MESSAGE_ACTIVATED_CONVERSATION_ID, &activated_conv_id);
+ if (MsgSettingGetInt(VCONFKEY_MESSAGE_ACTIVATED_CONVERSATION_ID, &activated_conv_id) != MSG_SUCCESS)
+ MSG_ERR("MsgSettingGetInt() is failed");
if (activated_conv_id > 0 && (unsigned int)activated_conv_id == pMsgInfo->threadId) {
MSG_WARN("Update message read status of current activated thread. [%d]", pMsgInfo->threadId);
MSG_MGR_BEGIN();
notification_h noti = notification_create(NOTIFICATION_TYPE_NOTI);
- notification_set_pkgname(noti, _get_app_id());
+ int noti_err = notification_set_pkgname(noti, _get_app_id());
+
+ if(noti_err != NOTIFICATION_ERROR_NONE){
+ MSG_MGR_ERR("Fail to notification_set_pkgname : %d", noti_err);
+ }
setTextDomain(noti);
setNotiText(noti, NOTIFICATION_TEXT_TYPE_TITLE, "Delivery report", DELIVERY_MESSAGE);