From 44763494188152c6924dc6b667d6031a5388c7c7 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Tue, 18 Jul 2017 20:13:36 +0900 Subject: [PATCH] Print helper app id when registering is not available Change-Id: Ia807e7882e7b59ce5e17ff79f8679937f31f3027 Signed-off-by: Jihoon Kim --- ism/src/isf_info_manager.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ism/src/isf_info_manager.cpp b/ism/src/isf_info_manager.cpp index 167d1c2..332e674 100644 --- a/ism/src/isf_info_manager.cpp +++ b/ism/src/isf_info_manager.cpp @@ -2022,7 +2022,7 @@ public: LOGD (""); String initial_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_INITIAL_ISE_UUID), String ("")); String default_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_DEFAULT_ISE_UUID), String ("")); - LOGD ("prepare to resime ISE option window %d [%s] [%s]", client_id, initial_uuid.c_str (), default_uuid.c_str ()); + LOGD ("prepare to resume ISE option window %d [%s] [%s]", client_id, initial_uuid.c_str (), default_uuid.c_str ()); if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode) { resume_helper_option_window (m_current_helper_uuid); @@ -3752,7 +3752,7 @@ client context helpers: %d, helpers uuid count: %d", String module_name; if (!m_signal_get_ise_information (info.uuid, info.name, language, type, option, module_name)) { - LOGD ("This helper is not IME"); + LOGW ("This helper (%s) is not IME", info.uuid.c_str ()); unlock (); return; } @@ -3772,17 +3772,21 @@ client context helpers: %d, helpers uuid count: %d", m_start_helper_ic_index.erase (icit); result = true; } else { + LOGW ("Failed to register IME : %s\n", info.uuid.c_str ()); m_panel_agent_manager.send_fail_reply(client); } } else { + LOGW ("Failed to register IME : %s\n", info.uuid.c_str ()); m_panel_agent_manager.send_fail_reply(client); } } unlock (); - if (result) + if (result) { + LOGD ("Succeed to regster IME : %s\n", info.uuid.c_str ()); m_signal_register_helper (client, info); + } } //SCIM_TRANS_CMD_PANEL_REGISTER_ACTIVE_HELPER @@ -3796,7 +3800,7 @@ client context helpers: %d, helpers uuid count: %d", String module_name; if (!m_signal_get_ise_information (info.uuid, info.name, language, type, option, module_name)) { - LOGD ("This helper is not IME"); + LOGW ("This helper (%s) is not IME", info.uuid.c_str ()); unlock (); return; } -- 2.7.4