fix wrong exception for launch submit/tizen_2.1/20130514.054102
authorYoung Ik Cho <youngik.cho@samsung.com>
Mon, 13 May 2013 09:00:27 +0000 (18:00 +0900)
committerYoung Ik Cho <youngik.cho@samsung.com>
Mon, 13 May 2013 09:00:27 +0000 (18:00 +0900)
Change-Id: I700deb188be63a2c71b24ca37581858d8079daaf
Signed-off-by: Young Ik Cho <youngik.cho@samsung.com>
src/app/FApp_AppControlManager.cpp

index 302cbc5..e060f00 100755 (executable)
@@ -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)