diff options
author | Sungmin Kwak <sungmin.kwak@samsung.com> | 2018-05-15 15:17:00 +0900 |
---|---|---|
committer | Sungmin Kwak <sungmin.kwak@samsung.com> | 2018-05-15 15:17:00 +0900 |
commit | 47c9f496ee1713f812de06ea714f401046fba320 (patch) | |
tree | 91f9125e254e9cc599bbfb01f2d14566982b7700 /ism/extras | |
parent | 4dd5d590aee17a5665b0eacc9ee14a5b44493eb9 (diff) | |
download | isf-47c9f496ee1713f812de06ea714f401046fba320.tar.gz isf-47c9f496ee1713f812de06ea714f401046fba320.tar.bz2 isf-47c9f496ee1713f812de06ea714f401046fba320.zip |
Support IME self-termination in IME On-demand mode
Change-Id: I67350d5c973f3962e336b46253e799fb3b0e402c
Diffstat (limited to 'ism/extras')
-rw-r--r-- | ism/extras/efl_panel/isf_panel_efl.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/ism/extras/efl_panel/isf_panel_efl.cpp b/ism/extras/efl_panel/isf_panel_efl.cpp index 473822f3..2d6c99cd 100644 --- a/ism/extras/efl_panel/isf_panel_efl.cpp +++ b/ism/extras/efl_panel/isf_panel_efl.cpp @@ -6508,15 +6508,18 @@ static void slot_stop_default_ise (void) { SCIM_DEBUG_MAIN (3) << __FUNCTION__ << "...\n"; - if (_launch_ise_on_request && _auto_destroy_ise && _soft_keyboard_launched) { - String uuid = _info_manager->get_current_helper_uuid (); - - if (uuid.length () > 0) { - _info_manager->hide_helper (uuid); - _info_manager->stop_helper (uuid); - _soft_keyboard_launched = false; - LOGD ("stop helper (%s)", uuid.c_str ()); + if (_soft_keyboard_launched) { + if (_launch_ise_on_request && _auto_destroy_ise) { + String uuid = _info_manager->get_current_helper_uuid (); + + if (uuid.length () > 0) { + _info_manager->hide_helper (uuid); + _info_manager->stop_helper (uuid); + _soft_keyboard_launched = false; + LOGD ("stop helper (%s)", uuid.c_str ()); + } } + _soft_keyboard_launched = false; } } |