Remove unnecessary logs and files 36/109836/1
authorsooyeon.kim <sooyeon.kim@samsung.com>
Wed, 11 Jan 2017 05:58:04 +0000 (14:58 +0900)
committerSooyeon Kim <sooyeon.kim@samsung.com>
Thu, 12 Jan 2017 02:22:21 +0000 (18:22 -0800)
Change-Id: I4ba63156838030fc4c153853763a6e6fac5d8146
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
(cherry picked from commit ea67c3ad26335d2ef99a76870b3cb247f4658361)

CMakeLists.txt
client/stt_dbus.c
packaging/stt.spec

index 767b057..c961bf1 100644 (file)
@@ -63,7 +63,7 @@ ADD_SUBDIRECTORY(client)
 ADD_SUBDIRECTORY(server)
 
 ## Test ##
-ADD_SUBDIRECTORY(test)
+#ADD_SUBDIRECTORY(test)
 
 ## Engine Parser ##
 ADD_SUBDIRECTORY(engine-parser)
index fe1dc72..4406ac6 100644 (file)
@@ -875,12 +875,12 @@ int stt_dbus_request_hello(int uid)
        }
 
        if (NULL == msg) {
-               SLOG(LOG_ERROR, TAG_STTC, ">>>> Request stt hello : Fail to make message");
-               return STT_ERROR_OPERATION_FAILED;
+//             SLOG(LOG_ERROR, TAG_STTC, ">>>> Request stt hello : Fail to make message");
+               result = stt_dbus_reconnect();
+               if (0 != result)
+                       return STT_ERROR_OPERATION_FAILED;
        }
 
-
-
        if (g_conn_sender) {
                result_msg = dbus_connection_send_with_reply_and_block(g_conn_sender, msg, g_waiting_short_time, &err);
                dbus_message_unref(msg);
@@ -907,6 +907,7 @@ int stt_dbus_request_hello(int uid)
                }
        } else {
                SLOG(LOG_WARN, TAG_STTC, "[WARN] dbus connection handle is null (%p)", g_conn_sender);
+               stt_dbus_reconnect();
                result = STT_ERROR_OPERATION_FAILED;
        }
 
index 358d33b..27bd80d 100644 (file)
@@ -125,7 +125,7 @@ mkdir -p %{TZ_SYS_RO_SHARE}/voice/test
 %{TZ_SYS_RO_SHARE}/voice/stt/1.0/stt-config.xml
 %{TZ_SYS_RO_SHARE}/dbus-1/services/org.tizen.voice.sttserver.service
 %{TZ_SYS_RO_SHARE}/dbus-1/services/org.tizen.voice.sttservercustom.service
-%{TZ_SYS_RO_SHARE}/voice/test/stt-test
+#%{TZ_SYS_RO_SHARE}/voice/test/stt-test
 %{TZ_SYS_RO_SHARE}/license/%{name}
 #%{TZ_SYS_BIN}/*
 %{_bindir}/voice_getengine