mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Remove Tenant id from saveApplicationIcon method
This commit is contained in:
parent
4b4ed5793a
commit
946431905f
@ -1333,7 +1333,7 @@ public class ApplicationManagerImpl implements ApplicationManager {
|
|||||||
int tenantId = PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId(true);
|
int tenantId = PrivilegedCarbonContext.getThreadLocalCarbonContext().getTenantId(true);
|
||||||
String iconPath = APIUtil.createAppIconPath(applicationReleaseDTO, tenantId);
|
String iconPath = APIUtil.createAppIconPath(applicationReleaseDTO, tenantId);
|
||||||
DataHolder.getInstance().getDeviceManagementService().saveApplicationIcon(iconPath,
|
DataHolder.getInstance().getDeviceManagementService().saveApplicationIcon(iconPath,
|
||||||
String.valueOf(applicationReleaseDTO.getPackageName()), applicationReleaseDTO.getVersion(), tenantId);
|
String.valueOf(applicationReleaseDTO.getPackageName()), applicationReleaseDTO.getVersion());
|
||||||
} catch (ApplicationManagementException e) {
|
} catch (ApplicationManagementException e) {
|
||||||
String msg = "Error occurred while creating iconPath. Application package name : " + applicationReleaseDTO.getPackageName();
|
String msg = "Error occurred while creating iconPath. Application package name : " + applicationReleaseDTO.getPackageName();
|
||||||
log.error(msg, e);
|
log.error(msg, e);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user