1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2019 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="android.app.role.cts.app28"> 20 21 <uses-permission android:name="android.permission.SEND_SMS"/> 22 23 <application android:label="CtsRoleTestApp28"> 24 25 <activity android:name=".ChangeDefaultDialerActivity" 26 android:exported="true"/> 27 28 <activity android:name=".ChangeDefaultSmsActivity" 29 android:exported="true"/> 30 31 <!-- Dialer --> 32 <activity android:name=".DialerDialActivity" 33 android:exported="true"> 34 <intent-filter> 35 <action android:name="android.intent.action.DIAL"/> 36 <category android:name="android.intent.category.DEFAULT"/> 37 </intent-filter> 38 <intent-filter> 39 <action android:name="android.intent.action.DIAL"/> 40 <category android:name="android.intent.category.DEFAULT"/> 41 <data android:scheme="tel"/> 42 </intent-filter> 43 </activity> 44 45 <!-- Sms --> 46 <activity android:name=".SmsSendToActivity" 47 android:exported="true"> 48 <intent-filter> 49 <action android:name="android.intent.action.SENDTO"/> 50 <category android:name="android.intent.category.DEFAULT"/> 51 <data android:scheme="smsto"/> 52 </intent-filter> 53 </activity> 54 <service android:name=".SmsRespondViaMessageService" 55 android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" 56 android:exported="true"> 57 <intent-filter> 58 <action android:name="android.intent.action.RESPOND_VIA_MESSAGE"/> 59 <category android:name="android.intent.category.DEFAULT"/> 60 <data android:scheme="smsto"/> 61 </intent-filter> 62 </service> 63 <receiver android:name=".SmsDelieverReceiver" 64 android:permission="android.permission.BROADCAST_SMS" 65 android:exported="true"> 66 <intent-filter> 67 <action android:name="android.provider.Telephony.SMS_DELIVER"/> 68 </intent-filter> 69 </receiver> 70 <receiver android:name=".SmsWapPushDelieverReceiver" 71 android:permission="android.permission.BROADCAST_WAP_PUSH" 72 android:exported="true"> 73 <intent-filter> 74 <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER"/> 75 <data android:mimeType="application/vnd.wap.mms-message"/> 76 </intent-filter> 77 </receiver> 78 </application> 79</manifest> 80