|
|
@ -50,6 +50,7 @@ var androidOperationModule = function () {
|
|
|
|
"PASSCODE_POLICY_OPERATION_CODE": "PASSCODE_POLICY",
|
|
|
|
"PASSCODE_POLICY_OPERATION_CODE": "PASSCODE_POLICY",
|
|
|
|
"VPN_OPERATION_CODE": "VPN",
|
|
|
|
"VPN_OPERATION_CODE": "VPN",
|
|
|
|
"CAMERA_OPERATION_CODE": "CAMERA",
|
|
|
|
"CAMERA_OPERATION_CODE": "CAMERA",
|
|
|
|
|
|
|
|
"BACKUP_SERVICE_CODE": "BACKUP_SERVICE",
|
|
|
|
"ENCRYPT_STORAGE_OPERATION_CODE": "ENCRYPT_STORAGE",
|
|
|
|
"ENCRYPT_STORAGE_OPERATION_CODE": "ENCRYPT_STORAGE",
|
|
|
|
"WIFI_OPERATION_CODE": "WIFI",
|
|
|
|
"WIFI_OPERATION_CODE": "WIFI",
|
|
|
|
"GLOBAL_PROXY_OPERATION_CODE": "GLOBAL_PROXY",
|
|
|
|
"GLOBAL_PROXY_OPERATION_CODE": "GLOBAL_PROXY",
|
|
|
@ -333,6 +334,7 @@ var androidOperationModule = function () {
|
|
|
|
payload = {
|
|
|
|
payload = {
|
|
|
|
"operation": {
|
|
|
|
"operation": {
|
|
|
|
"CAMERA": operationData["cameraEnabled"],
|
|
|
|
"CAMERA": operationData["cameraEnabled"],
|
|
|
|
|
|
|
|
"BACKUP_SERVICE": operationData["enableBackupService"],
|
|
|
|
"DISALLOW_ADJUST_VOLUME": operationData["disallowAdjustVolumeEnabled"],
|
|
|
|
"DISALLOW_ADJUST_VOLUME": operationData["disallowAdjustVolumeEnabled"],
|
|
|
|
"DISALLOW_CONFIG_BLUETOOTH": operationData["disallowConfigBluetooth"],
|
|
|
|
"DISALLOW_CONFIG_BLUETOOTH": operationData["disallowConfigBluetooth"],
|
|
|
|
"DISALLOW_CONFIG_CELL_BROADCASTS": operationData["disallowConfigCellBroadcasts"],
|
|
|
|
"DISALLOW_CONFIG_CELL_BROADCASTS": operationData["disallowConfigCellBroadcasts"],
|
|
|
@ -707,6 +709,7 @@ var androidOperationModule = function () {
|
|
|
|
"WIFI": "configure-wifi",
|
|
|
|
"WIFI": "configure-wifi",
|
|
|
|
"GLOBAL_PROXY": "configure-global-proxy",
|
|
|
|
"GLOBAL_PROXY": "configure-global-proxy",
|
|
|
|
"CAMERA": "control-camera",
|
|
|
|
"CAMERA": "control-camera",
|
|
|
|
|
|
|
|
"BACKUP_SERVICE": "enable-backup",
|
|
|
|
"VPN": "configure-vpn",
|
|
|
|
"VPN": "configure-vpn",
|
|
|
|
"DEVICE_LOCK": "lock-devices",
|
|
|
|
"DEVICE_LOCK": "lock-devices",
|
|
|
|
"DEVICE_UNLOCK": "unlock-devices",
|
|
|
|
"DEVICE_UNLOCK": "unlock-devices",
|
|
|
@ -1141,6 +1144,9 @@ var androidOperationModule = function () {
|
|
|
|
} else if (featureCode == androidOperationConstants["DISALLOW_ADJUST_VOLUME"]) {
|
|
|
|
} else if (featureCode == androidOperationConstants["DISALLOW_ADJUST_VOLUME"]) {
|
|
|
|
restrictions["disallowAdjustVolumeEnabled"] = restriction["enabled"];
|
|
|
|
restrictions["disallowAdjustVolumeEnabled"] = restriction["enabled"];
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
|
|
|
|
} else if (featureCode == androidOperationConstants["BACKUP_SERVICE_CODE"]) {
|
|
|
|
|
|
|
|
restrictions["enableBackupService"] = restriction["enabled"];
|
|
|
|
|
|
|
|
continue;
|
|
|
|
} else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_BLUETOOTH"]) {
|
|
|
|
} else if (featureCode == androidOperationConstants["DISALLOW_CONFIG_BLUETOOTH"]) {
|
|
|
|
restrictions["disallowConfigBluetooth"] = restriction["enabled"];
|
|
|
|
restrictions["disallowConfigBluetooth"] = restriction["enabled"];
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|