Set the vconf to indicate the on-demand mode 11/229411/3
authorInHong Han <inhong1.han@samsung.com>
Wed, 1 Apr 2020 01:47:20 +0000 (10:47 +0900)
committerInHong Han <inhong1.han@samsung.com>
Wed, 8 Apr 2020 05:40:42 +0000 (14:40 +0900)
Change-Id: Ib23e124662b8bde01b36d1b6dcc55c90c593c744

ism/extras/efl_panel/isf_panel_efl.cpp

index 0fcfcca..ad5fde8 100644 (file)
@@ -7912,6 +7912,9 @@ int main (int argc, char *argv [])
     user_data_path_exists = ecore_file_exists (user_data_path.c_str ());
     user_data_path_is_dir = ecore_file_is_dir (user_data_path.c_str ());
     _launch_ise_on_request = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_LAUNCH_ISE_ON_REQUEST), _launch_ise_on_request);
+    if (vconf_set_bool (VCONFKEY_ISF_IME_LAUNCH_ON_DEMAND, _launch_ise_on_request) != 0)
+        LOGW ("Failed to set vconf key");
+
     if (user_data_path_exists && user_data_path_is_dir) {
         load_config ();
     } else {