From c97831faf4af101793f5ff9a04ea66d93cab5e43 Mon Sep 17 00:00:00 2001 From: "wn.jang" Date: Thu, 26 Mar 2020 18:23:38 +0900 Subject: [PATCH] Remove to check if current engine is same as vconf This is temporary solution. Currently, VD didn't change vconf value for default engine. So, voice conrtrol framework thinks that current engine is one of TC. It'll be enabled when VD changes vconf correctly. Change-Id: I393ce91f1293a53215089397d4569153d275896d --- server/vcd_server.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/vcd_server.c b/server/vcd_server.c index 56df9a5..b253aa4 100755 --- a/server/vcd_server.c +++ b/server/vcd_server.c @@ -1240,6 +1240,7 @@ static int __vcd_db_clean_up() return ret; } +#if 0 static bool __is_default_engine() { char* engine = NULL; @@ -1262,6 +1263,7 @@ static bool __is_default_engine() free(engine); return FALSE; } +#endif int vcd_initialize(vce_request_callback_s *callback) { @@ -1310,13 +1312,13 @@ int vcd_initialize(vce_request_callback_s *callback) /* Initialize manager info */ vcd_client_manager_unset(); - if (TRUE == __is_default_engine()) { +// if (TRUE == __is_default_engine()) { /* Open dbus connection */ if (0 != vcd_dbus_open_connection()) { SLOG(LOG_ERROR, TAG_VCD, "[ERROR] Fail to open connection"); return VCD_ERROR_OPERATION_FAILED; } - } +// } vcd_config_set_service_state(VCD_STATE_READY); // vcdc_send_service_state(VCD_STATE_READY); -- 2.7.4