Changed name for legacy SmartView data fields 12/100112/1 accepted/tizen/common/20161128.064216 accepted/tizen/mobile/20161129.000204 accepted/tizen/tv/20161129.000222 accepted/tizen/wearable/20161129.000245 submit/tizen/20161128.022537
authorkmook <kmook.choi@samsung.com>
Fri, 25 Nov 2016 06:39:13 +0000 (15:39 +0900)
committerkmook <kmook.choi@samsung.com>
Fri, 25 Nov 2016 06:39:13 +0000 (15:39 +0900)
Change-Id: Ifa5bc453dfb15fb32144e2fecd2794bb12482bac
Signed-off-by: kmook <kmook.choi@samsung.com>
common/Types.h
daemon/service_provider/AppCommServiceApplication.cpp

index 9b7b44e..2cab709 100644 (file)
@@ -160,6 +160,7 @@ enum AccessControlState {
 #define CONV_JSON_RESULT_TYPE                                  "result_type"
 #define CONV_JSON_READ_TYPE                                            "read_type"
 #define CONV_JSON_MESSAGE                                              "message_smartview"
+#define CONV_JSON_DATA                                                 "data"
 #define CONV_JSON_CLIENT                                               "client"
 #define CONV_JSON_PAYLOAD_SIZE                                 "payload_size_smartview"
 #define CONV_JSON_EVENT                                                        "event"
index 11a0089..ea314a2 100755 (executable)
@@ -149,7 +149,7 @@ void conv::AppCommServiceApplication::onMessage(Message message)
                _D("payload %s", message.m_payload);
 
                message_json.set(NULL, CONV_JSON_EVENT, message.m_event);
-               message_json.set(NULL, CONV_JSON_MESSAGE, message.m_data);
+               message_json.set(NULL, CONV_JSON_DATA, message.m_data);
                message_json.set(NULL, CONV_JSON_FROM, message.m_from);
                string payload_str(reinterpret_cast<const char*>(message.m_payload), message.m_payload_size);