if (NULL != g_connect_timer) {
SLOG(LOG_DEBUG, TAG_VCC, "Connect Timer is deleted");
ecore_timer_del(g_connect_timer);
+ g_connect_timer = NULL;
}
vc_config_mgr_unset_lang_cb(g_vc->handle);
int mgr_pid = -1;
int service_state = 0;
+ g_connect_timer = NULL;
+
ret = vc_cmd_parser_delete_file(getpid(), VC_COMMAND_TYPE_FOREGROUND);
if (0 != ret)
SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to delete file, type(%d), ret(%d)", VC_COMMAND_TYPE_FOREGROUND, ret);
/* Set service state */
vc_client_set_service_state(g_vc, (vc_service_state_e)service_state);
- g_connect_timer = NULL;
-
g_focus_in_handler = ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_IN, __focus_changed_cb, NULL);
g_focus_out_handler = ecore_event_handler_add(ECORE_WL_EVENT_FOCUS_OUT, __focus_changed_cb, NULL);
vc_state_e temp;
if (0 != vc_client_get_client_state(g_vc, &temp)) {
- SLOG(LOG_ERROR, TAG_VCC, "[ERROR] A handle is not available");
+ SLOG(LOG_ERROR, TAG_VCC, "[ERROR] handle is not valid");
SLOG(LOG_DEBUG, TAG_VCC, "=====");
SLOG(LOG_DEBUG, TAG_VCC, " ");
return VC_ERROR_INVALID_STATE;
if (NULL != g_m_connect_timer) {
SLOG(LOG_DEBUG, TAG_VCM, "Connect Timer is deleted");
ecore_timer_del(g_m_connect_timer);
+ g_m_connect_timer = NULL;
}
vc_config_mgr_unset_lang_cb(g_vc_m->handle + VC_MANAGER_CONFIG_HANDLE);
if (NULL != g_w_connect_timer) {
SLOG(LOG_DEBUG, TAG_VCW, "Connect Timer is deleted");
ecore_timer_del(g_w_connect_timer);
+ g_w_connect_timer = NULL;
}
vc_config_mgr_unset_lang_cb(g_vc_w->handle + VC_WIDGET_CONFIG_HANDLE);
SLOG(LOG_DEBUG, TAG_VCW, "===== [Widget] Connect daemon");
+ g_w_connect_timer = NULL;
+
/* request initialization */
int ret = -1;
int service_state = 0;
vc_widget_client_set_state(g_vc_w, VC_STATE_READY);
ecore_timer_add(0, __vc_widget_notify_state_changed, g_vc_w);
- g_w_connect_timer = NULL;
-
SLOG(LOG_DEBUG, TAG_VCW, "=====");
SLOG(LOG_DEBUG, TAG_VCW, " ");
return VC_DB_ERROR_OPERATION_FAILED;
}
- SLOG(LOG_ERROR, vc_db_tag(), "[SQL] INSERT INTO vc_info (id, pid(%d), type(%d), format(%d), domain(%d), command(%s)", pid, cmd->type, cmd->format, cmd->domain, cmd->command);
- SLOG(LOG_ERROR, vc_db_tag(), "[SQL] ==== appid(%s), invocation(%s), fixed(%s)", cmd->appid, cmd->invocation_name, cmd->fixed);
+ SLOG(LOG_INFO, vc_db_tag(), "[SQL] INSERT INTO vc_info (id, pid(%d), type(%d), format(%d), domain(%d), command(%s)", pid, cmd->type, cmd->format, cmd->domain, cmd->command);
+ SLOG(LOG_INFO, vc_db_tag(), "[SQL] ==== appid(%s), invocation(%s), fixed(%s)", cmd->appid, cmd->invocation_name, cmd->fixed);
sqlite3_reset(stmt);
sqlite3_clear_bindings(stmt);
int vc_db_initialize(void)
{
- SLOG(LOG_ERROR, vc_db_tag(), "DB initialization");
+ SLOG(LOG_INFO, vc_db_tag(), "DB initialization");
path = (char*)calloc(256, sizeof(char));
if (NULL == path) {