From 618642ebaf66df03d15928c18f336e690d1f7e1c Mon Sep 17 00:00:00 2001 From: Jaeho Lee Date: Mon, 11 Mar 2013 22:28:40 +0900 Subject: added a error Signed-off-by: Jaeho Lee --- src/appsvc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/appsvc.c b/src/appsvc.c index 7bf082a..f2c17b9 100755 --- a/src/appsvc.c +++ b/src/appsvc.c @@ -196,8 +196,11 @@ static int __run_svc_with_pkgname(char *pkgname, bundle *b, int request_code, ap 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); -- cgit v1.2.3