From a6a0fc2a57481bba9eb2eb44a0115b6cd9220f14 Mon Sep 17 00:00:00 2001 From: Kasun Delgolla Date: Tue, 19 Apr 2016 16:25:19 +0530 Subject: [PATCH] Adding VPN feature for android --- .../mgt/mobile/impl/android/AndroidFeatureManager.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidFeatureManager.java b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidFeatureManager.java index 6913d53168..122b3c70fd 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidFeatureManager.java +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidFeatureManager.java @@ -272,12 +272,18 @@ public class AndroidFeatureManager implements FeatureManager { feature.setDescription("Reboot the device"); supportedFeatures.add(feature); - feature = new Feature(); + feature = new Feature(); feature.setCode("UPGRADE_FIRMWARE"); feature.setName("Upgrade Firmware"); feature.setDescription("Upgrade Firmware"); supportedFeatures.add(feature); + feature = new Feature(); + feature.setCode("VPN"); + feature.setName("Configure VPN"); + feature.setDescription("Configure VPN settings"); + supportedFeatures.add(feature); + return supportedFeatures; }