From: sungwook79.park Date: Thu, 27 Oct 2016 06:12:39 +0000 (+0900) Subject: Show network error message as guide text instead popup X-Git-Tag: accepted/tizen/common/20161031.121938~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=867b8e899811a91a74542d460fcfdd388920f6b2;p=platform%2Fcore%2Fuifw%2Fise-default.git Show network error message as guide text instead popup Change-Id: I6e36311bcf89787b0a6a9dbfb142d75eb364f278 Signed-off-by: sungwook79.park --- 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; } }