1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2015 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 -->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19    package="com.android.cts.permissionapp">
20
21    <uses-sdk android:minSdkVersion="23"/>
22
23    <permission android:name="com.android.cts.permissionapp.permA"
24                android:protectionLevel="dangerous"
25                android:label="@string/permA"
26                android:permissionGroup="com.android.cts.permissionapp.groupAB"
27                android:description="@string/permA" />
28    <permission android:name="com.android.cts.permissionapp.permB"
29                android:protectionLevel="dangerous"
30                android:label="@string/permB"
31                android:permissionGroup="com.android.cts.permissionapp.groupAB"
32                android:description="@string/permB" />
33
34    <permission-group android:description="@string/groupAB"
35                      android:label="@string/groupAB"
36                      android:name="com.android.cts.permissionapp.groupAB" />
37
38    <uses-permission android:name="com.android.cts.permissionapp.permA"/>
39    <uses-permission android:name="com.android.cts.permissionapp.permB"/>
40    <uses-permission android:name="android.permission.READ_CONTACTS"/>
41    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
42
43    <application android:label="CtsPermissionApp"
44            android:icon="@drawable/ic_permissionapp">
45        <activity android:name=".PermissionActivity" >
46            <intent-filter>
47                <action android:name="com.android.cts.permission.action.CHECK_HAS_PERMISSION" />
48                <action android:name="com.android.cts.permission.action.REQUEST_PERMISSION" />
49                <category android:name="android.intent.category.DEFAULT" />
50            </intent-filter>
51        </activity>
52    </application>
53
54</manifest>
55
56