Revert "Revert "Revert "Add codes for setting voice touch as auto mode"""
[platform/core/appfw/app-core.git] / src / efl_base / appcore_efl_base.c
index 387f69c..5cea46c 100644 (file)
 #include <stdlib.h>
 #include <stdbool.h>
 #include <Elementary.h>
-#include <voice_control_elm.h>
-#include <voice_control_elm_private.h>
 
 #include "appcore_efl_base_private.h"
 #include "appcore_efl_base.h"
 
 static int __efl_app_init(int argc, char **argv, void *data)
 {
-       int r;
        int hint;
-       int is_vc_vt_automode = 0;
        const char *hwacc;
 
        elm_init(argc, argv);
 
-       r = vc_elm_is_supported_vt_auto(&is_vc_vt_automode);
-       if (r != 0) {
-               _ERR("[VC] Failed to get vconfkey of vt_automode");
-       } else {
-               if (is_vc_vt_automode) {
-                       vc_elm_initialize();
-                       vc_elm_set_auto_register_mode(2, 0);
-               }
-       }
-
        hint = appcore_efl_base_get_hint();
        if (hint & APPCORE_EFL_BASE_HINT_HW_ACC_CONTROL) {
                hwacc = getenv("HWACC");
@@ -65,17 +51,6 @@ static int __efl_app_init(int argc, char **argv, void *data)
 
 static void __efl_app_finish(void)
 {
-       int r;
-       int is_vc_vt_automode = 0;
-
-       r = vc_elm_is_supported_vt_auto(&is_vc_vt_automode);
-       if (r != 0) {
-               _ERR("[VC] Failed to get vconfkey of vt_automode");
-       } else {
-               if (is_vc_vt_automode)
-                       vc_elm_deinitialize();
-       }
-
        elm_shutdown();
 
        /* Check loader case */