From f37dd0b917c7acca2ead7f0f60f0fb93ab112f92 Mon Sep 17 00:00:00 2001 From: Dharmakeerthi Lasantha Date: Mon, 30 Nov 2020 18:32:29 +0000 Subject: [PATCH] Fix build failure --- .../mocks/DeviceManagementProviderServiceMock.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java index f13345e2a..73b89f188 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java @@ -41,6 +41,7 @@ import org.wso2.carbon.device.mgt.common.DeviceTransferRequest; import org.wso2.carbon.device.mgt.common.StartupOperationConfig; import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManagementException; import org.wso2.carbon.device.mgt.common.configuration.mgt.AmbiguousConfigurationException; +import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationEntry; import org.wso2.carbon.device.mgt.common.configuration.mgt.DeviceConfiguration; import org.wso2.carbon.device.mgt.common.device.details.DeviceData; import org.wso2.carbon.device.mgt.common.device.details.DeviceLocationHistorySnapshot; @@ -764,9 +765,13 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv @Override public DeviceEnrollmentInvitationDetails getDeviceEnrollmentInvitationDetails(String s) { return null; } + @Override public void triggerCorrectiveActions(String s, String s1, List list, + List list1) throws DeviceManagementException, DeviceNotFoundException { + + } + @Override - public List getDevicesByIdentifiersAndStatuses(List list, - List list1) + public List getDevicesByIdentifiersAndStatuses(List list, List list1) throws DeviceManagementException { return null; }