From: Hwankyu Jhun Date: Tue, 21 Jul 2020 10:06:33 +0000 (+0900) Subject: Ignore AUL_R_ECANCELED error X-Git-Tag: submit/tizen/20200722.013234~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea9f317f77b8554481a409977281fb605fb8d158;p=platform%2Fcore%2Fappfw%2Fapp-core.git Ignore AUL_R_ECANCELED error If aul_launch_init() returns AUL_R_ECANCELED error, application core ignores the error. When the aul is already initialized, the error is returned. Change-Id: I050128e6fd7eb67016c45eff72d19aef8465e50c Signed-off-by: Hwankyu Jhun --- diff --git a/src/base/appcore_base.c b/src/base/appcore_base.c index 4086e95..8acee5b 100644 --- a/src/base/appcore_base.c +++ b/src/base/appcore_base.c @@ -1319,7 +1319,7 @@ EXPORT_API int appcore_base_on_create(void) int r; r = aul_launch_init(__context.ops.receive, __context.data); - if (r < 0) { + if (r < 0 && r != AUL_R_ECANCELED) { _ERR("Aul init failed: %d", r); return -1; }