1<?xml version="1.0" encoding="utf-8"?> 2 3<!-- 4 ~ Copyright (C) 2018 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.app.role.cts.app"> 22 23 <uses-permission android:name="android.permission.SEND_SMS" /> 24 25 <application android:label="CtsRoleTestApp"> 26 27 <activity 28 android:name=".RequestRoleActivity" 29 android:exported="true" /> 30 31 <activity 32 android:name=".IsRoleHeldActivity" 33 android:exported="true" /> 34 35 <activity 36 android:name=".ChangeDefaultDialerActivity" 37 android:exported="true" /> 38 39 <activity 40 android:name=".ChangeDefaultSmsActivity" 41 android:exported="true" /> 42 43 <!-- Dialer --> 44 <activity 45 android:name=".DialerDialActivity" 46 android:exported="true"> 47 <intent-filter> 48 <action android:name="android.intent.action.DIAL" /> 49 <category android:name="android.intent.category.DEFAULT" /> 50 </intent-filter> 51 <intent-filter> 52 <action android:name="android.intent.action.DIAL" /> 53 <category android:name="android.intent.category.DEFAULT" /> 54 <data android:scheme="tel" /> 55 </intent-filter> 56 </activity> 57 <service 58 android:name=".DialerInCallService" 59 android:permission="android.permission.BIND_INCALL_SERVICE" 60 android:exported="true"> 61 <meta-data 62 android:name="android.telecom.IN_CALL_SERVICE_UI" 63 android:value="true"/> 64 <meta-data 65 android:name="android.telecom.IN_CALL_SERVICE_CAR_MODE_UI" 66 android:value="false"/> 67 <intent-filter> 68 <action android:name="android.telecom.InCallService" /> 69 </intent-filter> 70 </service> 71 <!-- Sms --> 72 <activity 73 android:name=".SmsSendToActivity" 74 android:exported="true"> 75 <intent-filter> 76 <action android:name="android.intent.action.SENDTO" /> 77 <category android:name="android.intent.category.DEFAULT" /> 78 <data android:scheme="smsto" /> 79 </intent-filter> 80 </activity> 81 <service 82 android:name=".SmsRespondViaMessageService" 83 android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" 84 android:exported="true"> 85 <intent-filter> 86 <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /> 87 <category android:name="android.intent.category.DEFAULT" /> 88 <data android:scheme="smsto" /> 89 </intent-filter> 90 </service> 91 <receiver 92 android:name=".SmsDelieverReceiver" 93 android:permission="android.permission.BROADCAST_SMS" 94 android:exported="true"> 95 <intent-filter> 96 <action android:name="android.provider.Telephony.SMS_DELIVER" /> 97 </intent-filter> 98 </receiver> 99 <receiver 100 android:name=".SmsWapPushDelieverReceiver" 101 android:permission="android.permission.BROADCAST_WAP_PUSH" 102 android:exported="true"> 103 <intent-filter> 104 <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" /> 105 <data android:mimeType="application/vnd.wap.mms-message" /> 106 </intent-filter> 107 </receiver> 108 109 <!-- Browser --> 110 <activity 111 android:name=".BrowserActivity" 112 android:exported="true"> 113 <intent-filter> 114 <action android:name="android.intent.action.VIEW" /> 115 <category android:name="android.intent.category.BROWSABLE" /> 116 <category android:name="android.intent.category.DEFAULT" /> 117 <data android:scheme="http" /> 118 </intent-filter> 119 </activity> 120 121 <!-- Assistant --> 122 <activity 123 android:name=".AssistantActivity" 124 android:exported="true"> 125 <intent-filter> 126 <action android:name="android.intent.action.ASSIST" /> 127 <category android:name="android.intent.category.DEFAULT" /> 128 </intent-filter> 129 </activity> 130 </application> 131</manifest> 132