fix crash on AppControl start 92/10892/2
authorYoung Ik Cho <youngik.cho@samsung.com>
Mon, 14 Oct 2013 01:28:33 +0000 (10:28 +0900)
committerYoung Ik Cho <youngik.cho@samsung.com>
Thu, 17 Oct 2013 04:35:15 +0000 (13:35 +0900)
Change-Id: I5edcef488e49872d11e3bed9fe5813304bc334b4
Signed-off-by: Young Ik Cho <youngik.cho@samsung.com>
src/implicit-app-control/ImplicitAppControlEntry.cpp
src/platform-app-control/PlatformAppControlEntry.cpp

index 226d545..1f214aa 100644 (file)
@@ -90,7 +90,7 @@ _AppControlPlugin::StartAppControlPlugin(int req, const AppId& appId, const _App
        int pid = _AppControlPluginUtil::LaunchImplicit(message, pCb, this, req, isAppSelector);
 
        result r = GetLastResult();
-       SysTryReturnResult(NID_APP, pid >=0, r, "[%s] System error.");
+       SysTryReturnResult(NID_APP, pid >=0, r, "[%s] System error.", GetErrorMessage(r));
 
        if (pPid)
        {
index ef74d59..df4e460 100644 (file)
@@ -85,7 +85,7 @@ _AppControlPlugin::StartAppControlPlugin(int req, const AppId& appId, const _App
        int pid = _AppControlManager::GetInstance()->Launch(message, pCb, this, req);
 
        result r = GetLastResult();
-       SysTryReturnResult(NID_APP, pid >0, r, "[%s] System error.", r);
+       SysTryReturnResult(NID_APP, pid >0, r, "[%s] System error.", GetErrorMessage(r));
 
        if (pPid)
        {