From 72e2d848c2cac9d45acc6ab56d934140a86f2e28 Mon Sep 17 00:00:00 2001 From: nipuni Date: Thu, 4 Jan 2024 12:07:31 +0530 Subject: [PATCH] Fix the override error in saveApplicationIcon method --- .../api/mocks/DeviceManagementProviderServiceMock.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java index 4c77c4ecf..f5ca86e03 100644 --- a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java @@ -876,7 +876,7 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv } @Override - public void saveApplicationIcon(String s, String s1, String s2, int i) throws DeviceManagementException { + public void saveApplicationIcon(String s, String s1, String s2) throws DeviceManagementException { } @@ -894,4 +894,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv public List getInstalledApplicationsOnDevice(Device device, int i, int i1) throws DeviceManagementException { return null; } + + @Override + public List getInstalledApplicationsOnDevice(Device device) throws DeviceManagementException { + return null; + } }