From: Hwankyu Jhun Date: Wed, 30 Mar 2022 02:23:25 +0000 (+0900) Subject: Revert "Check AUL initialization" X-Git-Tag: submit/tizen/20220330.024438~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ebbc6b7cd2c09bd0986f2d4881977daa40b61e5;p=platform%2Fcore%2Fappfw%2Fapp-core.git Revert "Check AUL initialization" This reverts commit f9bb113dda5661ea0cc2c19af7adb5c80e3c9b80. Change-Id: I547a1ec8ae58e53b50625a44185de6283ef0e2ed --- diff --git a/legacy/src/base/appcore_base.c b/legacy/src/base/appcore_base.c index 01f7d09..bc59c73 100644 --- a/legacy/src/base/appcore_base.c +++ b/legacy/src/base/appcore_base.c @@ -92,8 +92,6 @@ static guint __suspend_dbus_handler_initialized; static char *__locale_dir; static appcore_base_rotation __rotation; -extern int aul_is_initialized(); - appcore_base_tizen_profile_t appcore_base_get_tizen_profile(void) { static appcore_base_tizen_profile_t profile = TIZEN_PROFILE_UNKNOWN; @@ -1332,11 +1330,6 @@ EXPORT_API int appcore_base_on_create(void) { int r; - if (aul_is_initialized()) { - _ERR("Aul is already initialized"); - return 0; - } - r = aul_launch_init(__context.ops.receive, __context.data); if (r < 0 && r != AUL_R_ECANCELED) { _ERR("Aul init failed: %d", r); diff --git a/tizen-cpp/app-core-cpp/app_core_base.cc b/tizen-cpp/app-core-cpp/app_core_base.cc index bfef0ff..5adf51c 100644 --- a/tizen-cpp/app-core-cpp/app_core_base.cc +++ b/tizen-cpp/app-core-cpp/app_core_base.cc @@ -45,7 +45,6 @@ #include "app-core-cpp/app_core_base.hh" #include "common/log_private.hh" -extern "C" int aul_is_initialized(); extern "C" void aul_finalize(); namespace tizen_cpp { @@ -627,11 +626,6 @@ int AppCoreBase::OnReceive(aul_type type, tizen_base::Bundle b) { } int AppCoreBase::OnCreate() { - if (aul_is_initialized()) { - _E("AUL is already initialized"); - return 0; - } - int ret = aul_launch_init([](aul_type type, bundle* b, void* data) -> int { AppCoreBase* base = reinterpret_cast(data); if (base->impl_->core_delegator_) {