Fix error getting conflict status 36/127836/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 2 May 2017 02:34:08 +0000 (11:34 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 12 May 2017 05:33:40 +0000 (14:33 +0900)
Change-Id: I8c0bb2d99b15624e0f88a252388416006dc4efc0
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
include/voice_control_webview.h
src/voice_control_webview.cpp

index 4c2fd00..ce87f8a 100755 (executable)
@@ -212,7 +212,6 @@ private:
        static vc_webview_result_cb m_result_cb;
        static Evas_Object *m_ewk_view;
        static int m_enable_navigation;
-       static int vc_conf_status;
        static efl_util_inputgen_h touch;
        void vc_register_commands();
        int vc_add_command(const char*, const char*, vc_cmd_list_h &list);
index eaa38fe..a6c775c 100755 (executable)
@@ -33,7 +33,6 @@ std::string m_custom_name;
 Evas_Object *VCWebView::m_ewk_view = NULL;
 vc_webview_result_cb VCWebView::m_result_cb = NULL;
 int VCWebView::m_enable_navigation = 0;
-int VCWebView::vc_conf_status = 0;
 efl_util_inputgen_h VCWebView::touch;
 
 static vc_cmd_list_h m_list = NULL;
@@ -716,11 +715,6 @@ int VCWebView::vc_get_conflict_status()
        Eina_Bool ret;
        int conflict = -1;
 
-       if (!vc_conf_status) {
-               LOGI("[INFO] Configuration does not set");
-               return -1;
-       }
-
        g_wait = true;
        ret = ewk_view_script_execute(m_ewk_view, "vc_get_conflict_status();", __js_script_conflict_result_cb, (void*)&conflict);