From a10eb7cb142fd46bd04ca554a2925da21bb935b0 Mon Sep 17 00:00:00 2001 From: ayyoob Date: Fri, 3 Mar 2017 17:03:57 +0530 Subject: [PATCH] removed feature --- .../app/modules/business-controllers/operation.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/android-web-agent/app/modules/business-controllers/operation.js b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/android-web-agent/app/modules/business-controllers/operation.js index 58d0f5f2bc..e97e0afb9b 100755 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/android-web-agent/app/modules/business-controllers/operation.js +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/android-web-agent/app/modules/business-controllers/operation.js @@ -60,18 +60,6 @@ var operationModule = function () { feature["description"] = features[i].description; feature["deviceType"] = deviceType; feature["params"] = []; - var featuresEntry = utility.getDeviceTypeConfig(deviceType)["deviceType"]["features"]; - if (featuresEntry) { - var featureEntry = featuresEntry[features[i].code]; - if (featureEntry) { - var permissionEntry = featureEntry["permission"]; - log.error(permissionEntry); - if (permissionEntry) { - feature["permission"] = permissionEntry - } - } - } - var metaData = features[i].metadataEntries; if (metaData) { for (var j = 0; j < metaData.length; j++) {