if ('\0' != *g_app_id)
return g_app_id;
- char *app_id = NULL;
+ const char *app_id = NULL;
switch (get_tizen_profile()) {
case _PROFILE_WEARABLE:
app_id = MSG_WEARABLE_APP_ID;
case MSG_MGR_NOTI_TYPE_MMS_READ_REPORT: {
setNotiText(noti_h, NOTIFICATION_TEXT_TYPE_TITLE, "Read Report", READ_REPORT_MESSAGE);
- char readStatusString[50] = {0,};
+ char readStatusString[50] = {0, };
if (noti_info->extra_data == MSG_READ_REPORT_IS_DELETED) {
snprintf(readStatusString, sizeof(readStatusString), "Message deleted by %s", noti_info->sender);
notification_set_text(noti_h, NOTIFICATION_TEXT_TYPE_CONTENT, readStatusString, MESSAGE_DELETED_BY_PS, NOTIFICATION_VARIABLE_TYPE_STRING, noti_info->sender, NOTIFICATION_VARIABLE_TYPE_NONE);
} else {
- char readStatusString[50] = {0,};
+ char readStatusString[50] = {0, };
snprintf(readStatusString, sizeof(readStatusString), "Message read by %s", noti_info->sender);
notification_set_text(noti_h, NOTIFICATION_TEXT_TYPE_CONTENT, readStatusString, MESSAGE_READ_BY_PS, NOTIFICATION_VARIABLE_TYPE_STRING, noti_info->sender, NOTIFICATION_VARIABLE_TYPE_NONE);
}
setNotiText(noti_h, NOTIFICATION_TEXT_TYPE_CONTENT, noti_info->active_text, NULL);
} else {
if (noti_info->active_media_cnt > 1) {
- char attach_string[20] = {0,};
+ char attach_string[20] = {0, };
snprintf(attach_string, sizeof(attach_string), "%d attachments", noti_info->active_media_cnt);
notification_set_text(noti_h, NOTIFICATION_TEXT_TYPE_CONTENT, attach_string, MSG_PD_ATTACHMENTS, NOTIFICATION_VARIABLE_TYPE_INT, noti_info->active_media_cnt, NOTIFICATION_VARIABLE_TYPE_NONE);
} else if (noti_info->active_media_cnt == 1) {
setNotiText(noti_h, NOTIFICATION_TEXT_TYPE_CONTENT, noti_info->active_text, NULL);
} else {
if (noti_info->active_media_cnt > 1) {
- char attach_string[20] = {0,};
+ char attach_string[20] = {0, };
snprintf(attach_string, sizeof(attach_string), "%d attachments", noti_info->active_media_cnt);
setNotiText(noti_h, NOTIFICATION_TEXT_TYPE_CONTENT, attach_string, NULL);
} else if (noti_info->active_media_cnt == 1) {
noti_info->id = 0;
if (MsgSettingSetInt(CB_NOTI_PRIV_ID, noti_info->id) != MSG_SUCCESS)
- MSG_MGR_DEBUG("MsgSettingSetInt fail : CB_NOTI_PRIV_ID");
+ MSG_MGR_DEBUG("MsgSettingSetInt Fail : CB_NOTI_PRIV_ID");
}
return MSG_ERR_DB_STEP;
}