diff options
author | Adam Connors <adamconnors@google.com> | 2014-04-01 12:14:08 +0100 |
---|---|---|
committer | Adam Connors <adamconnors@google.com> | 2014-04-01 12:20:58 +0100 |
commit | acc235a5cc781e12d774be76c2d4767d206ea2f6 (patch) | |
tree | 39d84bffa1ec0519fa4c36ee68aadefb9e7e9804 /data/etc | |
parent | 96668903e4d11893ea1f68525713542b0adb5404 (diff) | |
download | frameworks_native-acc235a5cc781e12d774be76c2d4767d206ea2f6.zip frameworks_native-acc235a5cc781e12d774be76c2d4767d206ea2f6.tar.gz frameworks_native-acc235a5cc781e12d774be76c2d4767d206ea2f6.tar.bz2 |
Add android.software.managedprofiles feature flag.
Change-Id: I743bfddd2244b50fcf7386a2b8a21c7da2805cf6
Diffstat (limited to 'data/etc')
-rw-r--r-- | data/etc/android.software.managedprofiles.xml | 20 | ||||
-rw-r--r-- | data/etc/handheld_core_hardware.xml | 9 | ||||
-rw-r--r-- | data/etc/tablet_core_hardware.xml | 11 |
3 files changed, 33 insertions, 7 deletions
diff --git a/data/etc/android.software.managedprofiles.xml b/data/etc/android.software.managedprofiles.xml new file mode 100644 index 0000000..233a78d --- /dev/null +++ b/data/etc/android.software.managedprofiles.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- This is the standard feature indicating that the device supports managed profiles. --> +<permissions> + <feature name="android.software.managedprofiles" /> +</permissions> diff --git a/data/etc/handheld_core_hardware.xml b/data/etc/handheld_core_hardware.xml index 4d81fb6..0bdadef 100644 --- a/data/etc/handheld_core_hardware.xml +++ b/data/etc/handheld_core_hardware.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -44,9 +44,12 @@ <!-- Feature to specify if the device supports adding device admins. --> <feature name="android.software.device_admin" /> + <!-- Feature to specify if the device support managed profiles. --> + <feature name="android.software.managedprofiles" /> + <!-- devices with GPS must include android.hardware.location.gps.xml --> <!-- devices with an autofocus camera and/or flash must include either - android.hardware.camera.autofocus.xml or + android.hardware.camera.autofocus.xml or android.hardware.camera.autofocus-flash.xml --> <!-- devices with a front facing camera must include android.hardware.camera.front.xml --> diff --git a/data/etc/tablet_core_hardware.xml b/data/etc/tablet_core_hardware.xml index 2a74b0f..4f7465f 100644 --- a/data/etc/tablet_core_hardware.xml +++ b/data/etc/tablet_core_hardware.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -45,10 +45,13 @@ <!-- Feature to specify if the device supports adding device admins. --> <feature name="android.software.device_admin" /> + <!-- Feature to specify if the device support managed profiles. --> + <feature name="android.software.managedprofiles" /> + <!-- devices with GPS must include android.hardware.location.gps.xml --> <!-- devices with a rear-facing camera must include one of these as appropriate: - android.hardware.camera.xml or - android.hardware.camera.autofocus.xml or + android.hardware.camera.xml or + android.hardware.camera.autofocus.xml or android.hardware.camera.autofocus-flash.xml --> <!-- devices with a front facing camera must include android.hardware.camera.front.xml --> |