Modify adding bundle values while creating notification.
authorKeebum Kim <keebum.kim@samsung.com>
Wed, 16 Oct 2013 07:39:12 +0000 (16:39 +0900)
committerKeebum Kim <keebum.kim@samsung.com>
Wed, 16 Oct 2013 07:39:12 +0000 (16:39 +0900)
utils/MsgNotificationWrapper.cpp

index fbc35c3..933ee37 100755 (executable)
@@ -859,6 +859,8 @@ msg_error_t MsgRefreshNoti(bool bWithTicker)
                // set execute option
                notification_set_execute_option(noti, NOTIFICATION_EXECUTE_TYPE_MULTI_LAUNCH, NULL, NULL, args);
 
+               notification_set_execute_option(noti, NOTIFICATION_EXECUTE_TYPE_RESPONDING, NULL, NULL, NULL);
+
        } else {
 
                noti_err = notification_set_layout(noti, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
@@ -898,6 +900,8 @@ msg_error_t MsgRefreshNoti(bool bWithTicker)
                memset(&tempId, 0x00, sizeof(tempId));
                snprintf(tempId, 5, "%d", msg.msgId);
                bundle_add(reply, "msgId", tempId);
+
+               notification_set_execute_option(noti, NOTIFICATION_EXECUTE_TYPE_RESPONDING, NULL, NULL, reply);
        }