From: Suyeon Hwang Date: Mon, 7 Nov 2022 04:47:24 +0000 (+0900) Subject: Remove logs making delay of IPC X-Git-Tag: accepted/tizen/7.0/unified/20221107.172921~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=caa58f4c577f872df7d3d1192b207493fc117cf0;p=platform%2Fcore%2Fuifw%2Ftts.git Remove logs making delay of IPC - Issue: Sometimes, the IPC request from client is delayed. - Solution: By the priority of the process, app manager APIs can be delayed. Thus, this patch removes some logs that needs to invoke app manager APIs. Through this patch, the IPC requests will be invoked directly without any delay. Change-Id: I19feed1a444364da4f54a729b72ab562a5ea2865 Signed-off-by: Suyeon Hwang --- diff --git a/client/tts_core.c b/client/tts_core.c index 66b0ee07..7f840988 100644 --- a/client/tts_core.c +++ b/client/tts_core.c @@ -1189,9 +1189,6 @@ int tts_core_add_text(tts_client_s* client, const char* text, const char* langua RETVM_IF(NULL == text || NULL == utt_id, TTS_ERROR_INVALID_PARAMETER, "[ERROR] Parameter is invalid."); RETVM_IF(false == tts_client_is_valid_client(client), TTS_ERROR_INVALID_PARAMETER, "[ERROR] Client is invalid."); - bool is_launched = __is_engine_launched(tts_client_get_mode(client)); - SLOG(LOG_ERROR, TAG_TTSC, "[INFO] tts engine is launched(%d)", is_launched); - tts_client_set_repeat_text(client, text); if (NULL != g_language) { @@ -1210,9 +1207,6 @@ int tts_core_play(tts_client_s* client) { RETVM_IF(false == tts_client_is_valid_client(client), TTS_ERROR_INVALID_PARAMETER, "[ERROR] Client is invalid."); - bool is_launched = __is_engine_launched(tts_client_get_mode(client)); - SLOG(LOG_ERROR, TAG_TTSC, "[INFO] tts engine is launched(%d)", is_launched); - return __request_play(client); } @@ -1220,9 +1214,6 @@ int tts_core_stop(tts_client_s* client) { RETVM_IF(false == tts_client_is_valid_client(client), TTS_ERROR_INVALID_PARAMETER, "[ERROR] Client is invalid."); - bool is_launched = __is_engine_launched(tts_client_get_mode(client)); - SLOG(LOG_ERROR, TAG_TTSC, "[INFO] tts engine is launched(%d)", is_launched); - unsigned int uid = tts_client_get_uid(client); int ret = -1; tts_client_set_reprepared(client, false);