Use SECURE_LOGD 03/151103/2
authorsungwook79.park <sungwook79.park@samsung.com>
Wed, 20 Sep 2017 01:37:15 +0000 (10:37 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Wed, 20 Sep 2017 01:58:53 +0000 (10:58 +0900)
Change-Id: Ieab397a6843878e6e741ec401766451a3ddfd6d8
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/w-input-keyboard.cpp
src/w-input-selector.cpp
src/w-input-stt-voice.cpp
src/w-input-template.cpp

index 6c359c9..cbb816d 100755 (executable)
@@ -94,7 +94,7 @@ void exit_keyboard()
        }
 
        const char *getText = elm_entry_entry_get(entry);
-       LOGD("button key clicked!! : getText = %s", getText);
+       SECURE_LOGD("button key clicked!! : getText = %s", getText);
 
        char cursorPosition[512];
        snprintf(cursorPosition, sizeof(cursorPosition), "%d", elm_entry_cursor_pos_get(entry));
index 05afb39..53576e0 100755 (executable)
@@ -894,7 +894,7 @@ unsigned int _update_smartreply_items(void *user_data)
                        reply = input_smartreply_get_nth_item(i, &type);
                        if (reply == NULL)
                                continue;
-                       PRINTFUNC(DLOG_DEBUG, "SmartReply = [%d]%s", i, reply);
+                       SECURE_LOGD("SmartReply = [%d]%s", i, reply);
 
                        for (j = 0; j < template_list.size(); j++) {
                                const char *template_str;
index c01db72..7ce7973 100755 (executable)
@@ -45,8 +45,8 @@ using namespace std;
                elm_genlist_item_append(obj, &(style), (void *)(uintptr_t)index, NULL, ELM_GENLIST_ITEM_NONE, cb, udata)
 
 #define VIRTUAL_TEXT_AREA_FONT_STYLE \
-               "DEFAULT='font=Tizen:style=Regular  font_size=32 color=#FFFFFF color_class=AT013 text_class=tizen wrap=mixed align=center' \
-               newline='br' b='+ font=Tizen:style=Bold'link='+ underline=on underline_color=#FFFFFF'"
+               "DEFAULT = 'font = Tizen:style = Regular  font_size = 32 color = #FFFFFF color_class = AT013 text_class = tizen wrap = mixed align = center' \
+               newline = 'br' b = '+ font = Tizen:style = Bold'link = '+ underline = on underline_color = #FFFFFF'"
 
 #define TOP_PADDING_AREA 120
 #define BOTTOM_PADDING_AREA 81 // Bottom Button H 78 + margin 3
@@ -367,7 +367,7 @@ void voice_get_string(const char *keyValue, _VoiceData *voicedata)
 
        strbuf = elm_entry_utf8_to_markup(keyValue);
 
-       PRINTFUNC(DLOG_DEBUG, "text : %s, voicedata->partial_result=%s", strbuf, voicedata->partial_result);
+       SECURE_LOGD("text : %s, voicedata->partial_result=%s", strbuf, voicedata->partial_result);
 
        if(strbuf){
                if(voicedata->partial_result){ // partial_result is not Null so replace
@@ -451,7 +451,7 @@ static void on_confirm_button_clicked_cb(void *data, Evas_Object *obj, void *eve
                        result_text += " ";
        }
 
-       PRINTFUNC(DLOG_DEBUG, "result_text = %s", result_text.c_str());
+       SECURE_LOGD("result_text = %s", result_text.c_str());
 
        char *filePath = NULL;
        voice_recorder *vr = _voice_recorder_get_data();
@@ -640,7 +640,7 @@ static void set_cue_text(void *data)
 
 static void set_guide_text(VoiceData *vd, const char* text, bool translatable)
 {
-       PRINTFUNC(DLOG_DEBUG, "text = %s", text);
+       SECURE_LOGD("text = %s", text);
 
        if (!vd) return;
 
index adb23e1..97bbbe2 100755 (executable)
@@ -159,7 +159,7 @@ static bool input_template_init_db_util(void)
                        data.use_gettext = true;
 
                data.text = (char *)sqlite3_column_text(stmt, 3);
-               PRINTFUNC(DLOG_DEBUG, "db text %s", data.text.c_str());
+               SECURE_LOGD("db text %s", data.text.c_str());
                g_input_template.template_list.push_back(data);
 
                ret = sqlite3_step(stmt);