diff options
author | Jaeho Lee <jaeho81.lee@samsung.com> | 2013-03-11 22:28:40 +0900 |
---|---|---|
committer | Jaeho Lee <jaeho81.lee@samsung.com> | 2013-03-11 22:28:40 +0900 |
commit | 618642ebaf66df03d15928c18f336e690d1f7e1c (patch) | |
tree | 1eb53d297187befa7c9fa0bdf319a772fe848e9e /src | |
parent | 36eef53e1978c10e822dcdf42928ee95fcd9ceca (diff) | |
download | app-svc-618642ebaf66df03d15928c18f336e690d1f7e1c.tar.gz app-svc-618642ebaf66df03d15928c18f336e690d1f7e1c.tar.bz2 app-svc-618642ebaf66df03d15928c18f336e690d1f7e1c.zip |
added a error
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/appsvc.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |