From bd65e8b2a7b1c996606d16f79232d5d11f3dd756 Mon Sep 17 00:00:00 2001 From: Kasun Delgolla Date: Sat, 28 May 2016 01:38:03 +0530 Subject: [PATCH] Committing missing android features --- .../android/impl/AndroidFeatureManager.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android/src/main/java/org/wso2/carbon/device/mgt/mobile/android/impl/AndroidFeatureManager.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android/src/main/java/org/wso2/carbon/device/mgt/mobile/android/impl/AndroidFeatureManager.java index d66f8d4269..3863552081 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android/src/main/java/org/wso2/carbon/device/mgt/mobile/android/impl/AndroidFeatureManager.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android/src/main/java/org/wso2/carbon/device/mgt/mobile/android/impl/AndroidFeatureManager.java @@ -234,11 +234,31 @@ public class AndroidFeatureManager implements FeatureManager { feature.setName("Password Policy"); feature.setDescription("Set passcode policy"); supportedFeatures.add(feature); + feature = new Feature(); feature.setCode("NOTIFICATION"); feature.setName("Message"); feature.setDescription("Send message"); supportedFeatures.add(feature); + + feature = new Feature(); + feature.setCode("DEVICE_REBOOT"); + feature.setName("Reboot"); + feature.setDescription("Reboot the device"); + supportedFeatures.add(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); + feature = new Feature(); feature.setCode("DISALLOW_ADJUST_VOLUME"); feature.setName("Adjust Volume");