From 867b8e899811a91a74542d460fcfdd388920f6b2 Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Thu, 27 Oct 2016 15:12:39 +0900 Subject: [PATCH] Show network error message as guide text instead popup Change-Id: I6e36311bcf89787b0a6a9dbfb142d75eb364f278 Signed-off-by: sungwook79.park --- src/ise-stt-mode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ise-stt-mode.cpp b/src/ise-stt-mode.cpp index 525236d..ba8e0b6 100644 --- a/src/ise-stt-mode.cpp +++ b/src/ise-stt-mode.cpp @@ -363,13 +363,13 @@ void set_animation_state(VoiceData *voicedata) void show_error_message(VoiceData *vd, stt_error_e reason) { if (reason == STT_ERROR_OUT_OF_NETWORK) { - show_popup_toast(_(SK_NETWORK_ERROR), false); + set_guide_text(vd, _(SK_NETWORK_ERROR)); vd->state = STT_STATE_VAL_INIT; } else if (reason == STT_ERROR_RECORDER_BUSY) { - show_popup_toast(_(SK_STT_BUSY), false); + set_guide_text(vd, _(SK_STT_BUSY)); vd->state = STT_STATE_VAL_INIT; } else { - show_popup_toast(_(SK_STT_BUSY), false); + set_guide_text(vd, _(SK_STT_BUSY)); vd->state = STT_STATE_VAL_INIT; } } -- 2.7.4