Print helper app id when registering is not available 38/139338/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 18 Jul 2017 11:13:36 +0000 (20:13 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 18 Jul 2017 11:32:04 +0000 (20:32 +0900)
Change-Id: Ia807e7882e7b59ce5e17ff79f8679937f31f3027
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/src/isf_info_manager.cpp

index 167d1c2..332e674 100644 (file)
@@ -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;
         }