From: sungwook79.park Date: Thu, 7 Jul 2016 12:00:34 +0000 (+0900) Subject: Fix issue that can not change stt language X-Git-Tag: submit/tizen/20160708.061210~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Finputdelegator.git;a=commitdiff_plain;h=75fc2df27104d0ba93b4d6e0f181946f085aff11 Fix issue that can not change stt language Change-Id: I864b3dcf9b061f831039de44944965fcae4c4f25 Signed-off-by: sungwook79.park --- diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp index 36c2c48..6587abe 100755 --- a/src/w-input-stt-voice.cpp +++ b/src/w-input-stt-voice.cpp @@ -1183,7 +1183,7 @@ static Evas_Object *__get_genlist_item_content(void *data, Evas_Object *obj, con static int get_language_value() { -#if 0 +#if 1 int lang = 0, ret = 0; ret = preference_get_int(PREFERENCE_ISE_STT_LANGUAGE, &lang); @@ -1218,7 +1218,7 @@ static void set_language_value(int type) // Add implementation to store language type. int ret = 0; -#if 0 +#if 1 ret = preference_set_int(PREFERENCE_ISE_STT_LANGUAGE, (int)type); if(PREFERENCE_ERROR_NONE != ret){ PRINTFUNC(DLOG_ERROR, "preference_set_int error!(%d)", ret);