1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*b7c941bbSAndroid Build Coastguard Worker<!-- 3*b7c941bbSAndroid Build Coastguard Worker ~ Copyright (C) 2020 The Android Open Source Project 4*b7c941bbSAndroid Build Coastguard Worker ~ 5*b7c941bbSAndroid Build Coastguard Worker ~ Licensed under the Apache License, Version 2.0 (the "License"); 6*b7c941bbSAndroid Build Coastguard Worker ~ you may not use this file except in compliance with the License. 7*b7c941bbSAndroid Build Coastguard Worker ~ You may obtain a copy of the License at 8*b7c941bbSAndroid Build Coastguard Worker ~ 9*b7c941bbSAndroid Build Coastguard Worker ~ http://www.apache.org/licenses/LICENSE-2.0 10*b7c941bbSAndroid Build Coastguard Worker ~ 11*b7c941bbSAndroid Build Coastguard Worker ~ Unless required by applicable law or agreed to in writing, software 12*b7c941bbSAndroid Build Coastguard Worker ~ distributed under the License is distributed on an "AS IS" BASIS, 13*b7c941bbSAndroid Build Coastguard Worker ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*b7c941bbSAndroid Build Coastguard Worker ~ See the License for the specific language governing permissions and 15*b7c941bbSAndroid Build Coastguard Worker ~ limitations under the License. 16*b7c941bbSAndroid Build Coastguard Worker --> 17*b7c941bbSAndroid Build Coastguard Worker 18*b7c941bbSAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android" 19*b7c941bbSAndroid Build Coastguard Worker package="android.telephony.cts.sms.simplesmsapp"> 20*b7c941bbSAndroid Build Coastguard Worker 21*b7c941bbSAndroid Build Coastguard Worker <uses-permission android:name="android.permission.READ_SMS"/> 22*b7c941bbSAndroid Build Coastguard Worker 23*b7c941bbSAndroid Build Coastguard Worker <application android:label="SimpleSmsApp"> 24*b7c941bbSAndroid Build Coastguard Worker <!-- BroadcastReceiver that listens for incoming SMS messages --> 25*b7c941bbSAndroid Build Coastguard Worker <receiver android:name="android.telephony.cts.sms.SmsReceiver" 26*b7c941bbSAndroid Build Coastguard Worker android:permission="android.permission.BROADCAST_SMS" 27*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 28*b7c941bbSAndroid Build Coastguard Worker <intent-filter> 29*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.provider.Telephony.SMS_DELIVER"/> 30*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 31*b7c941bbSAndroid Build Coastguard Worker </receiver> 32*b7c941bbSAndroid Build Coastguard Worker 33*b7c941bbSAndroid Build Coastguard Worker <!-- BroadcastReceiver that listens for incoming MMS messages --> 34*b7c941bbSAndroid Build Coastguard Worker <receiver android:name="android.telephony.cts.sms.MmsReceiver" 35*b7c941bbSAndroid Build Coastguard Worker android:permission="android.permission.BROADCAST_WAP_PUSH" 36*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 37*b7c941bbSAndroid Build Coastguard Worker <intent-filter> 38*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER"/> 39*b7c941bbSAndroid Build Coastguard Worker <data android:mimeType="application/vnd.wap.mms-message"/> 40*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 41*b7c941bbSAndroid Build Coastguard Worker </receiver> 42*b7c941bbSAndroid Build Coastguard Worker 43*b7c941bbSAndroid Build Coastguard Worker <!-- Activity that allows the user to send new SMS/MMS messages --> 44*b7c941bbSAndroid Build Coastguard Worker <activity android:name="android.app.Activity" 45*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 46*b7c941bbSAndroid Build Coastguard Worker <intent-filter> 47*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.intent.action.SEND"/> 48*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.intent.action.SENDTO"/> 49*b7c941bbSAndroid Build Coastguard Worker <category android:name="android.intent.category.DEFAULT"/> 50*b7c941bbSAndroid Build Coastguard Worker <category android:name="android.intent.category.BROWSABLE"/> 51*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="sms"/> 52*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="smsto"/> 53*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="mms"/> 54*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="mmsto"/> 55*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 56*b7c941bbSAndroid Build Coastguard Worker </activity> 57*b7c941bbSAndroid Build Coastguard Worker 58*b7c941bbSAndroid Build Coastguard Worker <!-- Service that delivers messages from the phone "quick response" 59*b7c941bbSAndroid Build Coastguard Worker --> 60*b7c941bbSAndroid Build Coastguard Worker <service android:name="android.telephony.cts.sms.HeadlessSmsSendService" 61*b7c941bbSAndroid Build Coastguard Worker android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" 62*b7c941bbSAndroid Build Coastguard Worker android:exported="true"> 63*b7c941bbSAndroid Build Coastguard Worker <intent-filter> 64*b7c941bbSAndroid Build Coastguard Worker <action android:name="android.intent.action.RESPOND_VIA_MESSAGE"/> 65*b7c941bbSAndroid Build Coastguard Worker <category android:name="android.intent.category.DEFAULT"/> 66*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="sms"/> 67*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="smsto"/> 68*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="mms"/> 69*b7c941bbSAndroid Build Coastguard Worker <data android:scheme="mmsto"/> 70*b7c941bbSAndroid Build Coastguard Worker </intent-filter> 71*b7c941bbSAndroid Build Coastguard Worker </service> 72*b7c941bbSAndroid Build Coastguard Worker 73*b7c941bbSAndroid Build Coastguard Worker </application> 74*b7c941bbSAndroid Build Coastguard Worker 75*b7c941bbSAndroid Build Coastguard Worker <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 76*b7c941bbSAndroid Build Coastguard Worker android:targetPackage="android.telephony.cts.sms.simplesmsapp"> 77*b7c941bbSAndroid Build Coastguard Worker </instrumentation> 78*b7c941bbSAndroid Build Coastguard Worker</manifest> 79