Return APPSVC_RET_ENOMATCH when cannot find requested app 84/45984/1 accepted/tizen/mobile/20150817.134137 accepted/tizen/tv/20150817.134531 accepted/tizen/wearable/20150817.134812 submit/tizen/20150817.084057
authorSangyoon Jang <s89.jang@samsung.com>
Thu, 13 Aug 2015 02:33:26 +0000 (11:33 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Thu, 13 Aug 2015 02:33:26 +0000 (11:33 +0900)
Change-Id: I864c8d516fb0bc1a251fdceef4c13be363b80913
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
src/appsvc.c

index 940123a..8722b96 100644 (file)
@@ -211,6 +211,9 @@ static int __run_svc_with_pkgname(char *pkgname, bundle *b, int request_code, ap
                        case AUL_R_EINVAL:
                                ret = APPSVC_RET_EINVAL;
                                break;
+                       case AUL_R_ENOAPP:
+                               ret = APPSVC_RET_ENOMATCH;
+                               break;
                        default:
                                ret = APPSVC_RET_ELAUNCH;
                }