From: Young Ik Cho Date: Wed, 20 Mar 2013 12:11:10 +0000 (+0900) Subject: fix isrunning behavior X-Git-Tag: accepted/tizen_2.1/20130425.034849~244^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=inline;h=39e677e5c19fa323540a467a6c0b9f8d343af2d3;p=platform%2Fframework%2Fnative%2Fappfw.git fix isrunning behavior Change-Id: Icc95f755b136084cd6edbf2b618c45655c17f3f7 Signed-off-by: Young Ik Cho --- diff --git a/src/app/FApp_AppManagerImpl.cpp b/src/app/FApp_AppManagerImpl.cpp index 3638859..5aaf297 100755 --- a/src/app/FApp_AppManagerImpl.cpp +++ b/src/app/FApp_AppManagerImpl.cpp @@ -695,10 +695,9 @@ _AppManagerImpl::TerminateApplications(const PackageId& packageId) bool _AppManagerImpl::IsRunning(const AppId& appId) const { - _IAppManager* pMgr = _AppManagerProxy::GetService(); - SysTryReturnResult(NID_APP, pMgr, E_SYSTEM, "Failed to _AppManagerProxy::GetService()."); + std::unique_ptr pAppId(_StringConverter::CopyToCharArrayN(appId)); - return pMgr->IsRunning(appId); + return aul_app_is_running(pAppId.get()); } static int