Fix daemon not started issue 86/297386/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.093203 accepted/tizen/unified/20230822.043324 tizen_8.0_m2_release
authorWootak Jung <wootak.jung@samsung.com>
Fri, 18 Aug 2023 01:51:55 +0000 (10:51 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 18 Aug 2023 01:53:10 +0000 (10:53 +0900)
Change-Id: Ib74f40ad0fd4a5e260f471e6b8151cc078ce791b
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
app/bt-share-main.c

index bd13277..48c867a 100644 (file)
@@ -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");