From: Hwankyu Jhun Date: Wed, 9 Aug 2017 09:04:33 +0000 (+0900) Subject: Fix aul_svc_create_result_bundle API X-Git-Tag: accepted/tizen/4.0/unified/20170925.151111~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F149759%2F3;p=platform%2Fcore%2Fappfw%2Faul-1.git Fix aul_svc_create_result_bundle API Change-Id: I4a5992309d251d86de1dd7b61cd63666aae4cc7d Signed-off-by: Hwankyu Jhun --- diff --git a/include/aul_svc.h b/include/aul_svc.h index c847a1a..7818a53 100755 --- a/include/aul_svc.h +++ b/include/aul_svc.h @@ -123,6 +123,7 @@ extern "C" { * @brief Return values in appsvc. */ typedef enum _aul_svc_return_val { + AUL_SVC_RET_ECANCELED = -8, /**< Operation is canceled */ AUL_SVC_RET_EREJECTED = -7, /**< application launch rejected */ AUL_SVC_RET_ETERMINATING = -6, /**< application terminating */ AUL_SVC_RET_EILLACC = -5, /**< Illegal Access */ diff --git a/src/service.c b/src/service.c index 5b6885a..08533c8 100755 --- a/src/service.c +++ b/src/service.c @@ -1340,6 +1340,8 @@ API int aul_svc_create_result_bundle(bundle *inb, bundle **outb) ret = AUL_SVC_RET_OK; else if (ret == AUL_R_EINVAL) ret = AUL_SVC_RET_EINVAL; + else if (ret == AUL_R_ECANCELED) + ret = AUL_SVC_RET_ECANCELED; else ret = AUL_SVC_RET_ERROR;