If the automode of voice touch feature is not enabled,
appcore-efl-base doesn't load libvc-control-elm library.
Change-Id: I6e297c98aa661e3b9138f00a481191c098f61d4d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
static void __vc_elm_finish(void)
{
+ if (!__vc_elm_handle)
+ return;
+
vconf_ignore_key_changed(VCONFKEY_VC_VOICE_TOUCH_AUTOMODE,
__vc_vtauto_changed_cb);
if (__vc_elm_initialized) {
{
int hint;
const char *hwacc;
+ int vt_automode = 0;
elm_init(argc, argv);
}
}
+ vconf_get_int(VCONFKEY_VC_VOICE_TOUCH_AUTOMODE, &vt_automode);
/* VC voice touch setting */
- if (!getenv("VC_ELM_INIT"))
+ if (vt_automode)
__vc_elm_init();
}
static void __efl_app_finish(void)
{
__vc_elm_finish();
- unsetenv("VC_ELM_INIT");
elm_shutdown();