From ea9f317f77b8554481a409977281fb605fb8d158 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 21 Jul 2020 19:06:33 +0900 Subject: [PATCH] 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 --- src/base/appcore_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.7.4