pLiveboxProviders->Construct();
int ret = livebox_service_get_pkglist(GetLiveboxProviderInfoCallback, pLiveboxProviders.get());
- SysTryReturn(NID_APP, ret >= 0, null, E_SYSTEM, "[E_SYSTEM] Failed to invoke livebox_service_get_pkglist, ret (%d)", ret);
+ if (ret < 0)
+ {
+ SysLog(NID_APP, "Failed to invoke livebox_service_get_pkglist, ret (%d)", ret);
+ }
+
+// SysTryReturn(NID_APP, ret >= 0, null, E_SYSTEM, "[E_SYSTEM] Failed to invoke livebox_service_get_pkglist, ret (%d)", ret);
ret = shortcut_get_list(null, GetConfigurableLiveboxInfosCallback, pLiveboxProviders.get());
- SysTryReturn(NID_APP, ret >= 0, null, E_SYSTEM, "[E_SYSTEM] Failed to invoke shortcut_get_list, ret (%d)", ret);
+ if (ret < 0)
+ {
+ SysLog(NID_APP, "Failed to invoke shortcut_get_list, ret (%d)", ret);
+ }
+// SysTryReturn(NID_APP, ret >= 0, null, E_SYSTEM, "[E_SYSTEM] Failed to invoke shortcut_get_list, ret (%d)", ret);
+
+ if (pLiveboxProviders->GetCount() <= 0)
+ {
+ return null;
+ }
return pLiveboxProviders.release();
}