1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4  ~ Copyright (C) 2015 The Android Open Source Project
5  ~
6  ~ Licensed under the Apache License, Version 2.0 (the "License");
7  ~ you may not use this file except in compliance with the License.
8  ~ You may obtain a copy of the License at
9  ~
10  ~      http://www.apache.org/licenses/LICENSE-2.0
11  ~
12  ~ Unless required by applicable law or agreed to in writing, software
13  ~ distributed under the License is distributed on an "AS IS" BASIS,
14  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  ~ See the License for the specific language governing permissions and
16  ~ limitations under the License.
17  -->
18
19<manifest
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    package="android.permissionui.cts.usepermission">
22
23    <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23" />
24
25    <!-- Request two different permissions within the same group -->
26    <uses-permission android:name="android.permission.SEND_SMS" />
27    <uses-permission android:name="android.permission.RECEIVE_SMS" />
28
29    <!-- Contacts -->
30    <!-- Deliberately request WRITE_CONTACTS but *not* READ_CONTACTS -->
31    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
32
33    <!-- Calendar -->
34    <uses-permission android:name="android.permission.READ_CALENDAR" />
35    <uses-permission android:name="android.permission.WRITE_CALENDAR" />
36
37    <!-- SMS -->
38    <uses-permission android:name="android.permission.SEND_SMS" />
39    <uses-permission android:name="android.permission.RECEIVE_SMS" />
40    <uses-permission android:name="android.permission.READ_SMS" />
41    <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" />
42    <uses-permission android:name="android.permission.RECEIVE_MMS" />
43    <uses-permission android:name="android.permission.READ_CELL_BROADCASTS" />
44
45    <!-- Storage -->
46    <!-- Special case: WRITE_EXTERNAL_STORAGE implies READ_EXTERNAL_STORAGE -->
47    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
48
49    <!-- Location -->
50    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
51    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
52
53    <!-- Phone -->
54    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
55    <uses-permission android:name="android.permission.CALL_PHONE" />
56    <uses-permission android:name="android.permission.READ_CALL_LOG" />
57    <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
58    <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
59    <uses-permission android:name="android.permission.USE_SIP" />
60    <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
61
62    <!-- Phone -->
63    <uses-permission android:name="android.permission.RECORD_AUDIO" />
64
65    <!-- Camera -->
66    <uses-permission android:name="android.permission.CAMERA" />
67
68    <!-- Body Sensors -->
69    <uses-permission android:name="android.permission.BODY_SENSORS" />
70
71    <application>
72        <activity android:name=".CheckCalendarAccessActivity" android:exported="true" />
73        <activity android:name=".FinishOnCreateActivity" android:exported="true" />
74        <activity android:name=".RequestPermissionsActivity" android:exported="true" />
75    </application>
76</manifest>
77