blob: 78b9736c0f78de63ceeb84d247892127454e32c2 [file] [log] [blame]
Colin Cross97da9052012-03-26 16:29:20 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<!-- These are the hardware components that all handheld devices
18 must include. Devices with optional hardware must also include extra
19 hardware files, per the comments below.
20
21 Handheld devices include phones, mobile Internet devices (MIDs),
22 Personal Media Players (PMPs), small tablets (7" or less), and similar
23 devices.
24-->
25<permissions>
26 <feature name="android.hardware.location" />
27 <feature name="android.hardware.location.network" />
28 <feature name="android.hardware.sensor.compass" />
29 <feature name="android.hardware.sensor.accelerometer" />
30 <feature name="android.hardware.bluetooth" />
31 <feature name="android.hardware.touchscreen" />
32 <feature name="android.hardware.touchscreen.multitouch" />
33 <feature name="android.hardware.touchscreen.multitouch.distinct" />
34 <feature name="android.hardware.microphone" />
35 <feature name="android.hardware.screen.portrait" />
36 <feature name="android.hardware.screen.landscape" />
Dianne Hackborn0046d962013-03-22 17:24:57 -070037 <feature name="android.software.app_widgets" />
38 <feature name="android.software.home_screen" />
39 <feature name="android.software.input_methods" />
Amith Yamasani7562c0e2013-09-16 10:48:35 -070040 <!-- Feature to specify if the device supports adding device admins. -->
41 <feature name="android.software.device_admin" />
Colin Cross97da9052012-03-26 16:29:20 -070042 <!-- devices with GPS must include android.hardware.location.gps.xml -->
43 <!-- devices with a rear-facing camera must include one of these as appropriate:
44 android.hardware.camera.xml or
45 android.hardware.camera.autofocus.xml or
46 android.hardware.camera.autofocus-flash.xml -->
47 <!-- devices with a front facing camera must include
48 android.hardware.camera.front.xml -->
49 <!-- devices with WiFi must also include android.hardware.wifi.xml -->
50 <!-- devices with an ambient light sensor must also include
51 android.hardware.sensor.light.xml -->
52 <!-- devices with a proximity sensor must also include
53 android.hardware.sensor.proximity.xml -->
54 <!-- devices with a barometer must also include
55 android.hardware.sensor.barometer.xml -->
56 <!-- devices with a gyroscope must also include
57 android.hardware.sensor.gyroscope.xml -->
58 <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
59 <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
60</permissions>