Apply secure log in IME interface 66/223066/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 22 Jan 2020 12:27:39 +0000 (21:27 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 22 Jan 2020 12:27:39 +0000 (21:27 +0900)
Change-Id: I6cf97483a032a7211251657e149f6ee519e1a2fa
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/src/scim_helper.cpp

index 7876555..af3bf16 100644 (file)
@@ -961,7 +961,7 @@ HelperAgent::handle_message (MessageItem *message)
                 free (m_impl->surrounding_text);
             m_impl->surrounding_text = strdup (subclass->get_text_ref().c_str ());
             m_impl->cursor_pos = subclass->get_cursor_ref();
-            LOGD ("surrounding text: %s, %d", m_impl->surrounding_text, subclass->get_cursor_ref());
+            SECURE_LOGD ("surrounding text: %s, %d", m_impl->surrounding_text, subclass->get_cursor_ref());
             while (m_impl->need_update_surrounding_text > 0) {
                 m_impl->need_update_surrounding_text--;
                 m_impl->signal_update_surrounding_text (this, subclass->get_ic_ref(),
@@ -976,7 +976,7 @@ HelperAgent::handle_message (MessageItem *message)
                 free (m_impl->selection_text);
 
             m_impl->selection_text = strdup (subclass->get_text_ref().c_str ());
-            LOGD ("selection text: %s", m_impl->selection_text);
+            SECURE_LOGD ("selection text: %s", m_impl->selection_text);
 
             while (m_impl->need_update_selection_text > 0) {
                 m_impl->need_update_selection_text--;
@@ -1171,7 +1171,7 @@ HelperAgent::handle_message (MessageItem *message)
                     if (!(subclass->get_key_ref().get_key_string().compare("KeyRelease+XF86Back") == 0 ||
                           subclass->get_key_ref().get_key_string().compare("XF86Back") == 0)) {
                         ret = m_impl->si->process_key_event (subclass->get_key_ref());
-                        LOGD("imengine(%s) process key %d return %d", m_impl->si->get_factory_uuid().c_str(),
+                        SECURE_LOGD ("imengine(%s) process key %d return %d", m_impl->si->get_factory_uuid().c_str(),
                             subclass->get_key_ref().code, ret);
                     }
                 }