check existance of _ControlManager 60/14860/1
authorchoimunseok <ms47.choi@samsung.com>
Mon, 9 Dec 2013 01:18:44 +0000 (10:18 +0900)
committerKeebong <keebong.bahn@samsung.com>
Mon, 13 Jan 2014 09:04:36 +0000 (18:04 +0900)
Change-Id: Ie5305c9f742626f7a70fd0c4658458938a098261
Signed-off-by: choimunseok <ms47.choi@samsung.com>
src/FShell_AppWidgetViewPresenter.cpp

index eed1bb5..f537b63 100644 (file)
@@ -76,6 +76,11 @@ const _ShortcutSizeInfo SHORTCUT_SIZE_INFO[] =
 int
 OnShortcutUpdatedInternal(shortcut_icon* pHandle, int ret, void* pData)
 {
+       if (_ControlManager::GetInstance() == null)
+       {
+               return 0;
+       }
+
        SysTryReturn(NID_SHELL, pHandle, E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] Propagating.");
        SysTryReturn(NID_SHELL, ret == 0, E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] Propagating.");