blob: 7c38b6d01ad7d6939153d57c9f016e3e89a3b4f8 [file] [log] [blame]
Alex Johnstonc72ee1f2020-04-20 11:00:12 +01001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2020 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.telephony.cts.sms.simplesmsapp">
20
21 <uses-permission android:name="android.permission.READ_SMS"/>
22
23 <application android:label="SimpleSmsApp">
Alex Johnstonc72ee1f2020-04-20 11:00:12 +010024 <!-- BroadcastReceiver that listens for incoming SMS messages -->
25 <receiver android:name="android.telephony.cts.sms.SmsReceiver"
26 android:permission="android.permission.BROADCAST_SMS">
27 <intent-filter>
28 <action android:name="android.provider.Telephony.SMS_DELIVER" />
29 </intent-filter>
30 </receiver>
31
32 <!-- BroadcastReceiver that listens for incoming MMS messages -->
33 <receiver android:name="android.telephony.cts.sms.MmsReceiver"
34 android:permission="android.permission.BROADCAST_WAP_PUSH">
35 <intent-filter>
36 <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" />
37 <data android:mimeType="application/vnd.wap.mms-message" />
38 </intent-filter>
39 </receiver>
40
41 <!-- Activity that allows the user to send new SMS/MMS messages -->
Pavel Grafovd0750e92020-05-10 22:23:19 +010042 <activity android:name="android.app.Activity"
43 android:exported="true">
Alex Johnstonc72ee1f2020-04-20 11:00:12 +010044 <intent-filter>
45 <action android:name="android.intent.action.SEND" />
46 <action android:name="android.intent.action.SENDTO" />
47 <category android:name="android.intent.category.DEFAULT" />
48 <category android:name="android.intent.category.BROWSABLE" />
49 <data android:scheme="sms" />
50 <data android:scheme="smsto" />
51 <data android:scheme="mms" />
52 <data android:scheme="mmsto" />
53 </intent-filter>
54 </activity>
55
56 <!-- Service that delivers messages from the phone "quick response" -->
57 <service android:name="android.telephony.cts.sms.HeadlessSmsSendService"
58 android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE"
59 android:exported="true" >
60 <intent-filter>
61 <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" />
62 <category android:name="android.intent.category.DEFAULT" />
63 <data android:scheme="sms" />
64 <data android:scheme="smsto" />
65 <data android:scheme="mms" />
66 <data android:scheme="mmsto" />
67 </intent-filter>
68 </service>
69
70 </application>
Pavel Grafovd0750e92020-05-10 22:23:19 +010071
72 <instrumentation
73 android:name="androidx.test.runner.AndroidJUnitRunner"
74 android:targetPackage="android.telephony.cts.sms.simplesmsapp">
75 <meta-data
76 android:name="listener"
77 android:value="com.android.cts.runner.CtsTestRunListener"/>
78 </instrumentation>
Alex Johnstonc72ee1f2020-04-20 11:00:12 +010079</manifest>
80