From 893c535fb3d27778494bdd6b053dc0cf80b3d714 Mon Sep 17 00:00:00 2001 From: gayank Date: Fri, 29 Apr 2016 20:01:19 +0530 Subject: [PATCH] Android feature for Updating an application --- .../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 122b3c70fd..a408360b9c 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 @@ -230,6 +230,12 @@ public class AndroidFeatureManager implements FeatureManager { feature.setDescription("Install Enterprise or Market application"); supportedFeatures.add(feature); + feature = new Feature(); + feature.setCode("UPDATE_APPLICATION"); + feature.setName("Update App"); + feature.setDescription("Update Enterprise or Market application"); + supportedFeatures.add(feature); + feature = new Feature(); feature.setCode("UNINSTALL_APPLICATION"); feature.setName("Uninstall App"); @@ -272,7 +278,7 @@ 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");