Remove to check if current engine is same as vconf 15/228915/2
authorwn.jang <wn.jang@samsung.com>
Thu, 26 Mar 2020 09:23:38 +0000 (18:23 +0900)
committerwn.jang <wn.jang@samsung.com>
Thu, 26 Mar 2020 09:24:02 +0000 (18:24 +0900)
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

index 56df9a5..b253aa4 100755 (executable)
@@ -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);