From: sooyeon.kim Date: Wed, 27 Dec 2017 06:51:44 +0000 (+0900) Subject: Fix timeout period of ecore_timer in prepare X-Git-Tag: accepted/tizen/unified/20180305.062850~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F35%2F167935%2F1;p=platform%2Fcore%2Fuifw%2Fstt.git Fix timeout period of ecore_timer in prepare Change-Id: I3f1d7aab32ffd31709823590e7db8dfa2f272e53 Signed-off-by: sooyeon.kim (cherry picked from commit f279a9e53c792dbc6f8442c224834d4005a96d05) --- diff --git a/client/stt.c b/client/stt.c index 69fab4d..144d56b 100644 --- a/client/stt.c +++ b/client/stt.c @@ -1042,7 +1042,7 @@ int stt_prepare(stt_h stt) return STT_ERROR_INVALID_STATE; } - g_connect_timer = ecore_timer_add(0, __stt_connect_daemon, (void*)client); + g_connect_timer = ecore_timer_add(0.02, __stt_connect_daemon, (void*)client); SLOG(LOG_DEBUG, TAG_STTC, "====="); SLOG(LOG_DEBUG, TAG_STTC, " "); diff --git a/client/stt_dbus.c b/client/stt_dbus.c index 32a9dea..f589775 100644 --- a/client/stt_dbus.c +++ b/client/stt_dbus.c @@ -926,6 +926,7 @@ int stt_dbus_request_hello(int uid) result_msg = dbus_connection_send_with_reply_and_block(g_conn_sender, msg, g_waiting_short_time, &err); dbus_message_unref(msg); if (dbus_error_is_set(&err)) { + SLOG(LOG_ERROR, TAG_STTC, "[ERROR] Get arguments error (%s)", err.message); dbus_error_free(&err); }