From 8136f38b36e481915bfe896c997f6921972882ff Mon Sep 17 00:00:00 2001 From: "jungmin76.park" Date: Mon, 13 May 2013 17:06:47 +0900 Subject: [PATCH] fixed not to terminate itself.(will be terminated by data-provider-master) Change-Id: Ie1b9622acf3ebfa5655dffd603a789216b6f8d12 Signed-off-by: jungmin76.park --- src/FShell_AppWidgetManagerService.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/FShell_AppWidgetManagerService.cpp b/src/FShell_AppWidgetManagerService.cpp index 640e97b..69c6f49 100644 --- a/src/FShell_AppWidgetManagerService.cpp +++ b/src/FShell_AppWidgetManagerService.cpp @@ -204,10 +204,7 @@ AppWidgetManagerService::AddAppWidget(_AppWidgetContext* pAppWidgetContext) result AppWidgetManagerService::RemoveAppWidget(const char* pPackageName, const char* pId, bool free) { - SysLog(NID_SHELL, "%s, %s, count(%d)", pPackageName, pId, __appWidgetContextList.GetCount()); - SysTryReturn(NID_SHELL, ( pPackageName != null && pId != null), null, E_INVALID_ARG, "[E_INVALID_ARG]"); - SysLog(NID_SHELL, "%s, %s", pPackageName, pId); _AppWidgetContext* pAppWidgetContext = Find(pPackageName, pId); SysTryReturn(NID_SHELL, pAppWidgetContext, null, E_OBJ_NOT_FOUND, "[E_OBJ_NOT_FOUND]"); @@ -215,14 +212,8 @@ AppWidgetManagerService::RemoveAppWidget(const char* pPackageName, const char* p result r = __appWidgetContextList.Remove(pAppWidgetContext); delete pAppWidgetContext; - pAppWidgetContext = null; - - if (__appWidgetContextList.GetCount() == 0) - { - SysLog(NID_SHELL, "No running native appWidget app remains, terminating osp appWidget service..."); - Tizen::App::App::GetInstance()->Terminate(); - } + SysLog(NID_SHELL, "AppWidget(%s, %s) is removed. remain count(%d)", pPackageName, pId, __appWidgetContextList.GetCount()); return r; } -- 2.7.4