Fix issue that can not change stt language 54/78954/1
authorsungwook79.park <sungwook79.park@samsung.com>
Thu, 7 Jul 2016 12:00:34 +0000 (21:00 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Thu, 7 Jul 2016 12:00:34 +0000 (21:00 +0900)
Change-Id: I864b3dcf9b061f831039de44944965fcae4c4f25
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/w-input-stt-voice.cpp

index 36c2c48..6587abe 100755 (executable)
@@ -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);