static void slot_start_default_ise (void)
{
SCIM_DEBUG_MAIN (3) << __FUNCTION__ << "...\n";
- String uuid = _config->read (SCIM_CONFIG_DEFAULT_HELPER_ISE, String (""));
if ((_info_manager->get_current_toolbar_mode () == TOOLBAR_HELPER_MODE)) {
if (_launch_ise_on_request && !_soft_keyboard_launched) {
+ String uuid = _config->read (SCIM_CONFIG_DEFAULT_HELPER_ISE, String (""));
+
LOGD ("Start helper (%s)\n", uuid.c_str ());
set_keyboard_engine (String (SCIM_COMPOSE_KEY_FACTORY_UUID));
else
LOGW ("Failed to start helper (%s)\n", uuid.c_str ());
}
- else if (_soft_keyboard_launched) /* In case IME is launched but can't show it because of the connection failure. */
- {
- LOGD ("Restart helper (%s)\n", uuid.c_str ());
-
- _info_manager->stop_helper (uuid);
- if (_info_manager->start_helper (uuid))
- _soft_keyboard_launched = true;
- else
- _soft_keyboard_launched = false;
- }
}
}