From 2eb22479ecb2b287cb50ee94e9075006385cc6bd Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Fri, 18 Aug 2023 10:51:55 +0900 Subject: [PATCH] Fix daemon not started issue Change-Id: Ib74f40ad0fd4a5e260f471e6b8151cc078ce791b Signed-off-by: Wootak Jung --- app/bt-share-main.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/bt-share-main.c b/app/bt-share-main.c index bd13277..48c867a 100644 --- a/app/bt-share-main.c +++ b/app/bt-share-main.c @@ -55,8 +55,13 @@ static void __lang_changed_cb(keynode_t *node, void *user_data) { FN_START; /* init internationalization */ +#if 0 + /* appcore_set_i18n() should be called on EFL app lifecycle. + * Otherwise, " Context is not initialized." error occured. + * bluetooth-share is running as system daemon. */ retm_if(appcore_set_i18n(BT_COMMON_PKG, BT_COMMON_RES) < 0, "appcore_set_i18n failed!"); +#endif FN_END; } /* LCOV_EXCL_STOP */ @@ -356,8 +361,13 @@ int main(void) } /* init internationalization */ +#if 0 + /* appcore_set_i18n() should be called on EFL app lifecycle. + * Otherwise, " Context is not initialized." error occured. + * bluetooth-share is running as system daemon. */ retvm_if(appcore_set_i18n(BT_COMMON_PKG, BT_COMMON_RES) < 0, BT_SHARE_FAIL, "appcore_set_i18n failed!"); +#endif if (_bt_share_cynara_init()) { ERR("Failed to initialize Cynara.\n"); -- 2.7.4