From: Hwankyu Jhun Date: Mon, 22 Mar 2021 04:03:41 +0000 (+0900) Subject: Add a missing error case X-Git-Tag: accepted/tizen/unified/20210324.124434~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F44%2F255644%2F1;p=platform%2Fcore%2Fappfw%2Faul-1.git Add a missing error case If the return value of AUL function is AUL_R_ECANCELED, the function should return AUL_SVC_RET_ECANCLED. Change-Id: Ie23c23c8b6b0461d4f618507ef58140b9d9b5867 Signed-off-by: Hwankyu Jhun --- diff --git a/src/aul_svc.cc b/src/aul_svc.cc index c386289..00fc4a3 100644 --- a/src/aul_svc.cc +++ b/src/aul_svc.cc @@ -201,6 +201,8 @@ int AulErrorConvert(int res) { return AUL_SVC_RET_EREJECTED; case AUL_R_ENOAPP: return AUL_SVC_RET_ENOMATCH; + case AUL_R_ECANCELED: + return AUL_SVC_RET_ECANCELED; default: return AUL_SVC_RET_ELAUNCH; }