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="22" android:targetSdkVersion="22" />
24
25    <!-- Make sure permission code can handle invalid permissions -->
26    <uses-permission android:name="android.permissionui.cts.usepermission.INVALID_PERMISSION_NAME" />
27
28    <!-- Request two different permissions within the same group -->
29    <uses-permission android:name="android.permission.SEND_SMS" />
30    <uses-permission android:name="android.permission.RECEIVE_SMS" />
31
32    <!-- Contacts -->
33    <!-- Deliberately request WRITE_CONTACTS but *not* READ_CONTACTS -->
34    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
35
36    <!-- Calendar -->
37    <uses-permission android:name="android.permission.READ_CALENDAR" />
38    <uses-permission android:name="android.permission.WRITE_CALENDAR" />
39
40    <!-- SMS -->
41    <uses-permission android:name="android.permission.SEND_SMS" />
42    <uses-permission android:name="android.permission.RECEIVE_SMS" />
43    <uses-permission android:name="android.permission.READ_SMS" />
44    <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" />
45    <uses-permission android:name="android.permission.RECEIVE_MMS" />
46    <uses-permission android:name="android.permission.READ_CELL_BROADCASTS" />
47
48    <!-- Storage -->
49    <!-- Special case: WRITE_EXTERNAL_STORAGE implies READ_EXTERNAL_STORAGE -->
50    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
51
52    <!-- Location -->
53    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
54    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
55
56    <!-- Phone -->
57    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
58    <uses-permission android:name="android.permission.CALL_PHONE" />
59    <uses-permission android:name="android.permission.READ_CALL_LOG" />
60    <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
61    <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
62    <uses-permission android:name="android.permission.USE_SIP" />
63    <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
64
65    <!-- Phone -->
66    <uses-permission android:name="android.permission.RECORD_AUDIO" />
67
68    <!-- Camera -->
69    <uses-permission android:name="android.permission.CAMERA" />
70
71    <!-- Body Sensors -->
72    <uses-permission android:name="android.permission.BODY_SENSORS" />
73
74    <application>
75        <activity android:name=".CheckCalendarAccessActivity" android:exported="true" />
76        <activity android:name=".FinishOnCreateActivity" android:exported="true" />
77        <activity android:name=".RequestPermissionsActivity" android:exported="true" />
78    </application>
79</manifest>
80