From d62458b6cbc0726610955e37739867301668e733 Mon Sep 17 00:00:00 2001 From: Young Ik Cho Date: Mon, 13 May 2013 18:00:27 +0900 Subject: [PATCH] fix wrong exception for launch Change-Id: I700deb188be63a2c71b24ca37581858d8079daaf Signed-off-by: Young Ik Cho --- src/app/FApp_AppControlManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/FApp_AppControlManager.cpp b/src/app/FApp_AppControlManager.cpp index 302cbc5..e060f00 100755 --- a/src/app/FApp_AppControlManager.cpp +++ b/src/app/FApp_AppControlManager.cpp @@ -750,6 +750,7 @@ _AppControlManager::Launch(const AppId& appId, _AppArg* pArg, AppSvcResFn pCb, v if (pid >= 0) { SysLog(NID_APP, "Submode launch successful"); + SetLastResult(E_SUCCESS); return pid; } else if (pid == APPSVC_RET_EINVAL) @@ -772,6 +773,7 @@ _AppControlManager::Launch(const AppId& appId, _AppArg* pArg, AppSvcResFn pCb, v if (pid >= 0) { SysLog(NID_APP, "Application(%d) launched with reqId(%d) and arg(0x%x).", pid, req, pArg); + SetLastResult(E_SUCCESS); return pid; } else if (pid == APPSVC_RET_EINVAL) -- 2.7.4