[Application] Fixed launch errors reporting.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 27 Jul 2015 12:11:48 +0000 (14:11 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 27 Jul 2015 12:11:48 +0000 (14:11 +0200)
[Verification] Tests UTC_application_launch_N_00X pass, UTC pass rate 100%
               TCT pass rate: 100%

Change-Id: I872e34b6e5e419234ed485aeb263778143fe401f
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/application/application_manager.cc

index b6d3b799356ff780dd761adb3ef7904456ad43ce..39ab383f25158d85227e37983896f9c291c7bef4 100755 (executable)
@@ -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;