[TBT][tizen_3.0_mobile][Stt Error module modified, get stt daemon error message with... 27/82827/1
authornazib.ullah <nazib.ullah@samsung.com>
Mon, 8 Aug 2016 03:27:55 +0000 (09:27 +0600)
committernazib.ullah <nazib.ullah@samsung.com>
Mon, 8 Aug 2016 03:29:19 +0000 (09:29 +0600)
Change-Id: I5d41c56bc1abb7d06aa146e78b215e8b78a1591d

release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk
release/binary-x86/org.tizen.tbtcoreapp-1.0.0-i386.tpk
tbtcoreapp/src/view/tbt-stt-view.c

index ee0ec6e49006fffb9e9f9bb7e0fcc7c344059a31..259134776d0f6d03cb88e6f6fddfc18da605aea6 100644 (file)
Binary files a/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk and b/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk differ
index 46dd80fa9fb36bd45ed8aeb5352eba5eb6f8c643..86a2ef5c9e08ac24784614c94a16096dc3a42231 100644 (file)
Binary files a/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-i386.tpk and b/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-i386.tpk differ
index 9212fddac59c764553d252c2e3ff06cf6052a703..ca72534d4fd4ef1654c873d5c3ddef66ff5b107a 100644 (file)
@@ -197,7 +197,9 @@ static void _stt_error_cb(stt_h stt, stt_error_e reason, void *user_data)
        stt_view *this = NULL;
        this = (stt_view*)user_data;
        RETM_IF(NULL == this, "view is NULL");
-       char* str = format_string("%s",get_stt_error(reason));
+       char* str;
+       int ret = stt_get_error_message(stt, &str);
+       RETM_IF(ret != STT_ERROR_NONE, "stt_get_error_message fail > Error = %s", get_stt_error(ret));
        ui_utils_label_set_text(this->input_text, str, "left");
        SAFE_DELETE(str);
 }