Add a missing error case 44/255644/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 22 Mar 2021 04:03:41 +0000 (13:03 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 22 Mar 2021 04:04:24 +0000 (13:04 +0900)
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 <h.jhun@samsung.com>
src/aul_svc.cc

index c386289..00fc4a3 100644 (file)
@@ -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;
   }