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.WRITE_CONTACTS"/> 42 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> 43 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 44 <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/> 45 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> 46 <uses-permission android:name="android.permission.CAMERA"/> 47 <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/> 48 <uses-permission android:name="android.permission.BODY_SENSORS"/> 49 50 <application android:label="CtsPermissionApp" 51 android:icon="@drawable/ic_permissionapp"> 52 <activity android:name=".PermissionActivity" 53 android:exported="true"> 54 <intent-filter> 55 <action android:name="com.android.cts.permission.action.CHECK_HAS_PERMISSION"/> 56 <action android:name="com.android.cts.permission.action.REQUEST_PERMISSION"/> 57 <category android:name="android.intent.category.DEFAULT"/> 58 </intent-filter> 59 </activity> 60 </application> 61 62</manifest> 63