From 3c9efeecc949ca1397f8d5d7f9b0272148c4a25f Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 5 Dec 2017 09:15:31 +0900 Subject: [PATCH] Add an exception handling about vc elm initialization If "VC_ELM_INIT" env exists, the appcore efl base doesn't initialize vc elm. Change-Id: Iea500e0e8df490c5514e4254cb2864f97b3181e3 Signed-off-by: Hwankyu Jhun --- src/efl_base/appcore_efl_base.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/efl_base/appcore_efl_base.c b/src/efl_base/appcore_efl_base.c index a30c2da..e2fd7c3 100644 --- a/src/efl_base/appcore_efl_base.c +++ b/src/efl_base/appcore_efl_base.c @@ -165,12 +165,14 @@ static void __efl_app_init(int argc, char **argv, void *data) } /* VC voice touch setting */ - __vc_elm_init(); + if (!getenv("VC_ELM_INIT")) + __vc_elm_init(); } static void __efl_app_finish(void) { __vc_elm_finish(); + unsetenv("VC_ELM_INIT"); elm_shutdown(); -- 2.7.4