Makoto Onuki | 0bac358 | 2018-09-27 12:02:17 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2018 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | package="com.android.cts.appbinding.app" > |
| 19 | |
| 20 | <uses-permission android:name="android.permission.WRITE_SMS" /> |
| 21 | <uses-permission android:name="android.permission.READ_SMS" /> |
| 22 | <uses-permission android:name="android.permission.SEND_SMS" /> |
| 23 | <uses-permission android:name="android.permission.RECEIVE_SMS" /> |
| 24 | <uses-permission android:name="android.permission.RECEIVE_MMS" /> |
| 25 | |
| 26 | <application> |
| 27 | <uses-library android:name="android.test.runner" /> |
| 28 | |
| 29 | <!-- No target services. --> |
| 30 | |
| 31 | <!-- Components needed to be an SMS app --> |
| 32 | <activity android:name=".MySendToActivity"> |
| 33 | <intent-filter> |
| 34 | <action android:name="android.intent.action.SEND" /> |
| 35 | <action android:name="android.intent.action.SENDTO" /> |
| 36 | <category android:name="android.intent.category.DEFAULT" /> |
| 37 | <category android:name="android.intent.category.BROWSABLE" /> |
| 38 | <data android:scheme="sms" /> |
| 39 | <data android:scheme="smsto" /> |
| 40 | <data android:scheme="mms" /> |
| 41 | <data android:scheme="mmsto" /> |
| 42 | </intent-filter> |
| 43 | |
| 44 | </activity> |
| 45 | |
| 46 | <receiver android:name=".sms.MySmsReceiver" |
| 47 | android:permission="android.permission.BROADCAST_SMS"> |
| 48 | <intent-filter> |
| 49 | <action android:name="android.provider.Telephony.SMS_DELIVER" /> |
| 50 | </intent-filter> |
| 51 | </receiver> |
| 52 | |
| 53 | <receiver android:name=".sms.MyMmsReceiver" |
| 54 | android:permission="android.permission.BROADCAST_WAP_PUSH"> |
| 55 | <intent-filter> |
| 56 | <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" /> |
| 57 | <data android:mimeType="application/vnd.wap.mms-message" /> |
| 58 | </intent-filter> |
| 59 | |
| 60 | </receiver> |
| 61 | |
| 62 | <service android:name=".sms.MyRespondService" |
| 63 | android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" > |
| 64 | <intent-filter> |
| 65 | <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /> |
| 66 | <category android:name="android.intent.category.DEFAULT" /> |
| 67 | <data android:scheme="sms" /> |
| 68 | <data android:scheme="smsto" /> |
| 69 | <data android:scheme="mms" /> |
| 70 | <data android:scheme="mmsto" /> |
| 71 | </intent-filter> |
| 72 | </service> |
| 73 | </application> |
| 74 | |
Brett Chabot | 244f038 | 2019-02-15 13:02:34 -0800 | [diff] [blame] | 75 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
Makoto Onuki | 7925398 | 2020-04-06 17:53:14 -0700 | [diff] [blame] | 76 | android:targetPackage="com.android.cts.appbinding.app" /> |
Makoto Onuki | 0bac358 | 2018-09-27 12:02:17 -0700 | [diff] [blame] | 77 | </manifest> |