* @brief Return values in appsvc.
*/
typedef enum _appsvc_return_val {
+ APPSVC_RET_EILLACC = -5, /**< Illegal Access */
APPSVC_RET_ELAUNCH = -4, /**< Failure on launching the app */
APPSVC_RET_ENOMATCH = -3, /**< No matching result Error */
APPSVC_RET_EINVAL = -2, /**< Invalid argument */
cb_info = __create_rescb(request_code, cbfunc, data);
ret = aul_launch_app_with_result(pkgname, b, __aul_cb, cb_info);
- if(ret < 0)
+ if(ret == AUL_R_EILLACC) {
+ ret = APPSVC_RET_EILLACC;
+ } else if(ret < 0) {
ret = APPSVC_RET_ELAUNCH;
+ }
} else {
_D("pkg_name : %s - no result", pkgname);
ret = aul_launch_app(pkgname, b);