Ignore AUL_R_ECANCELED error 51/239051/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 21 Jul 2020 10:06:33 +0000 (19:06 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 21 Jul 2020 10:06:33 +0000 (19:06 +0900)
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 <h.jhun@samsung.com>
src/base/appcore_base.c

index 4086e95..8acee5b 100644 (file)
@@ -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;
        }