if( IsPackagedWithTPK(appId) == true)
{
_AppWidgetManagerProxy* pProxy = _AppWidgetManagerProxy::GetInstance();
- SysTryReturnResult(NID_SHELL, pProxy, E_SYSTEM, "Failed to get proxy instance!");
+// SysTryReturnResult(NID_SHELL, pProxy, E_SYSTEM, "Failed to get proxy instance!");
+ SysTryReturnResult(NID_SHELL, pProxy, E_OBJ_NOT_FOUND, "AppWidget service isn't running, because there is no instance for the dynamic box to be updated.");
return pProxy->RequestUpdate(appId, providerName, argument);
}
}
unique_ptr<char[]> pPkgName(_StringConverter::CopyToCharArrayN(providerId));
int ret = livebox_service_trigger_update(pPkgName.get(), null, null, null, 1);
+ SysTryReturnResult(NID_SHELL, ret != LB_STATUS_ERROR_NOT_EXIST, E_OBJ_NOT_FOUND, "There is no instance for the dynamic box to be updated." );
SysTryReturnResult(NID_SHELL, ret == LB_STATUS_SUCCESS || ret == LB_STATUS_ERROR_CANCEL, E_SYSTEM, "Failed to invoke livebox_service_trigger_update() with reason(%d)", ret);
+
return E_SUCCESS;
}
}