From fb30118aa2d7d1bd0153aa7f56b268adf6a5dc31 Mon Sep 17 00:00:00 2001 From: dilanua Date: Mon, 22 Aug 2016 16:30:32 +0530 Subject: [PATCH] Adding supported feature: DEVICE_UNLOCK entry to db --- .../mgt/mobile/android/impl/AndroidFeatureManager.java | 6 ++++++ 1 file changed, 6 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 7f2eea9b2..7b3a6054e 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 @@ -463,6 +463,12 @@ public class AndroidFeatureManager implements FeatureManager { feature.setDescription("Fetch device logcat"); supportedFeatures.add(feature); + feature = new Feature(); + feature.setCode("DEVICE_UNLOCK"); + feature.setName("Device Unlock"); + feature.setDescription("Unlock the device"); + supportedFeatures.add(feature); + return supportedFeatures; } } \ No newline at end of file