From e92a2925208bafd1240efaae5d55a0f7eda0d225 Mon Sep 17 00:00:00 2001 From: "jungmin76.park" Date: Thu, 18 Jul 2013 14:40:29 +0900 Subject: [PATCH] fix prevent bug Change-Id: I8a8e40558e5f7c27eda67b4465fcbf5276daad29 Signed-off-by: jungmin76.park --- src/FShell_AppWidgetManagerService.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/FShell_AppWidgetManagerService.cpp b/src/FShell_AppWidgetManagerService.cpp index 1fe162e..d196d35 100644 --- a/src/FShell_AppWidgetManagerService.cpp +++ b/src/FShell_AppWidgetManagerService.cpp @@ -610,10 +610,7 @@ AppWidgetManagerService::RequestUpdate(const Tizen::App::AppId& appId, const Tiz result AppWidgetManagerService::RequestUpdate(_AppWidgetContext* pAppWidgetContext, const String& argument) { - if (pAppWidgetContext == null) - { - SysLog(NID_SHELL, "pAppWidgetContext is null."); - } + SysTryReturnResult( NID_SHELL, pAppWidgetContext, E_INVALID_STATE, "pAppWidgetContext is null."); ArrayList* pArray = new (std::nothrow) ArrayList(); SysTryReturnResult(NID_SHELL, pArray, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY]"); -- 2.34.1