From: Pawel Andruszkiewicz
Date: Mon, 27 Jul 2015 12:11:48 +0000 (+0200)
Subject: [Application] Fixed launch errors reporting.
X-Git-Tag: submit/tizen_tv/20150803.021740^2^2~18^2~1
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=137aed09a66bc122eb9504daef60f8ce7188ca9f;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git
[Application] Fixed launch errors reporting.
[Verification] Tests UTC_application_launch_N_00X pass, UTC pass rate 100%
TCT pass rate: 100%
Change-Id: I872e34b6e5e419234ed485aeb263778143fe401f
Signed-off-by: Pawel Andruszkiewicz
---
diff --git a/src/application/application_manager.cc b/src/application/application_manager.cc
index b6d3b799..39ab383f 100755
--- a/src/application/application_manager.cc
+++ b/src/application/application_manager.cc
@@ -406,6 +406,7 @@ void ApplicationManager::Launch(const picojson::value& args) {
switch (ret) {
case AUL_R_EINVAL:
case AUL_R_ERROR:
+ case AUL_R_ENOAPP:
LoggerE("aul_open_app returns Not Found error");
result = PlatformResult(ErrorCode::NOT_FOUND_ERR, "Launchpad returns not found error.");
break;