Fix aul_svc_create_result_bundle API 59/149759/3
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 9 Aug 2017 09:04:33 +0000 (18:04 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Thu, 21 Sep 2017 11:58:56 +0000 (11:58 +0000)
Change-Id: I4a5992309d251d86de1dd7b61cd63666aae4cc7d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
include/aul_svc.h
src/service.c

index c847a1a..7818a53 100755 (executable)
@@ -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 */
index 5b6885a..08533c8 100755 (executable)
@@ -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;