From: sooyeon.kim Date: Wed, 27 Dec 2017 06:48:01 +0000 (+0900) Subject: Fix timeout period of ecore_timer in prepare X-Git-Tag: accepted/tizen/unified/20180228.071749~15^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=9053017e4241dc1964003603378db7663c276ad0;p=platform%2Fcore%2Fuifw%2Ftts.git Fix timeout period of ecore_timer in prepare Change-Id: Ic1a43eb0525f8dd741c6ac9343c62ed77e5e35a4 Signed-off-by: sooyeon.kim (cherry picked from commit 860b0b8ba75cd870d333c2f3dfcd9af293e4f2b7) --- diff --git a/client/tts.c b/client/tts.c index b4010ac..73b9441 100644 --- a/client/tts.c +++ b/client/tts.c @@ -681,7 +681,7 @@ int tts_prepare(tts_h tts) return TTS_ERROR_INVALID_STATE; } - client->conn_timer = ecore_timer_add(0, __tts_connect_daemon, (void*)tts); + client->conn_timer = ecore_timer_add(0.02, __tts_connect_daemon, (void*)tts); SLOG(LOG_DEBUG, TAG_TTSC, "@@@"); diff --git a/client/tts_dbus.c b/client/tts_dbus.c index f922798..caa4e39 100644 --- a/client/tts_dbus.c +++ b/client/tts_dbus.c @@ -353,7 +353,7 @@ int tts_dbus_request_hello(int uid) result_msg = dbus_connection_send_with_reply_and_block(g_conn_sender, msg, HELLO_WAITING_TIME, &err); dbus_message_unref(msg); if (dbus_error_is_set(&err)) { -// SLOG(LOG_DEBUG, TAG_TTSC, "<<<< tts dbus log : %s", err); + SLOG(LOG_DEBUG, TAG_TTSC, "<<<< tts dbus log : %s", err); dbus_error_free(&err); }