If the application doesn't have the icon path, the app_info_get_icon()
function returns a negative error value with printing "Invalid parmater"
log message. This patch removes printing logs to reduce.
Change-Id: Ic0a09f9c05c364e215b002a2ee0a4d6edbf59708
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
ret = pkgmgrinfo_appinfo_get_icon(app_info->pkg_app_info, &val);
if (ret != PMINFO_R_OK || val == NULL)
- return app_manager_error(APP_MANAGER_ERROR_INVALID_PARAMETER, __FUNCTION__, NULL);
+ return APP_MANAGER_ERROR_INVALID_PARAMETER;
app_icon_dup = strdup(val);
if (app_icon_dup == NULL)