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
static bool __is_default_engine()
{
char* engine = NULL;
static bool __is_default_engine()
{
char* engine = NULL;
free(engine);
return FALSE;
}
free(engine);
return FALSE;
}
int vcd_initialize(vce_request_callback_s *callback)
{
int vcd_initialize(vce_request_callback_s *callback)
{
/* Initialize manager info */
vcd_client_manager_unset();
/* 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;
}
/* 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);
vcd_config_set_service_state(VCD_STATE_READY);
// vcdc_send_service_state(VCD_STATE_READY);