From: Changgyu Choi Date: Wed, 9 Nov 2022 08:51:37 +0000 (+0900) Subject: Add a case of timeout error in AulSvcErrorConvert X-Git-Tag: accepted/tizen/7.0/unified/20221115.022324~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F80%2F284080%2F4;p=platform%2Fcore%2Fapi%2Fapp-control.git Add a case of timeout error in AulSvcErrorConvert After applying this patch, when app control receives a timeout error, it converts the error to APP_CONTROL_ERROR_TIMED_OUT. Requires: - https://review.tizen.org/gerrit/c/platform/core/appfw/aul-1/+/284079 Change-Id: I5ecd323315bf75da46cf10fbd3a5b40ea792e4c0 Signed-off-by: Changgyu Choi --- diff --git a/src/app-control/util.cc b/src/app-control/util.cc index 5d980cf..a491f15 100644 --- a/src/app-control/util.cc +++ b/src/app-control/util.cc @@ -63,6 +63,8 @@ int Util::AulSvcErrorConvert(int res) { return APP_CONTROL_ERROR_PERMISSION_DENIED; case AUL_SVC_RET_EINVAL: return APP_CONTROL_ERROR_INVALID_PARAMETER; + case AUL_SVC_RET_ETIMEOUT: + return APP_CONTROL_ERROR_TIMED_OUT; default: return APP_CONTROL_ERROR_LAUNCH_REJECTED; }