1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* //packages/services/Telephony/testapps/TestRcsApp/TestApp/AndroidManifest.xml 4** 5** Copyright 2020, The Android Open Source Project 6** 7** Licensed under the Apache License, Version 2.0 (the "License"); 8** you may not use this file except in compliance with the License. 9** You may obtain a copy of the License at 10** 11** http://www.apache.org/licenses/LICENSE-2.0 12** 13** Unless required by applicable law or agreed to in writing, software 14** distributed under the License is distributed on an "AS IS" BASIS, 15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16** See the License for the specific language governing permissions and 17** limitations under the License. 18*/ 19--> 20<manifest xmlns:android="http://schemas.android.com/apk/res/android" 21 package="com.google.android.sample.rcsclient" 22 android:versionCode="14" 23 android:versionName="1.0.13"> 24 25 <uses-sdk 26 android:minSdkVersion="30" 27 android:targetSdkVersion="30" /> 28 29 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> 30 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> 31 <!-- Granted by SMS role--> 32 <uses-permission android:name="android.permission.PERFORM_IMS_SINGLE_REGISTRATION" /> 33 <!-- Required for UCE and granted by SMS role --> 34 <uses-permission android:name="android.permission.READ_CONTACTS" /> 35 <uses-permission android:name="android.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE" /> 36 37 <application 38 android:allowBackup="true" 39 android:icon="@mipmap/ic_launcher" 40 android:label="@string/app_name" 41 android:roundIcon="@mipmap/ic_launcher_round" 42 android:supportsRtl="true" 43 android:theme="@style/AppTheme"> 44 <activity android:name=".MainActivity"> 45 <intent-filter> 46 <action android:name="android.intent.action.MAIN" /> 47 <category android:name="android.intent.category.LAUNCHER" /> 48 </intent-filter> 49 </activity> 50 51 <activity android:name=".DelegateActivity" /> 52 <activity android:name=".UceActivity" /> 53 <activity android:name=".GbaActivity" /> 54 <activity android:name=".PhoneNumberActivity" /> 55 <activity android:name=".ChatActivity" /> 56 <activity android:name=".ContactListActivity" /> 57 <activity android:name=".ProvisioningActivity" /> 58 <activity android:name=".FileUploadActivity" /> 59 <activity android:name=".carrierLock.CarrieLockModeListActivity" /> 60 61 <provider 62 android:name=".util.ChatProvider" 63 android:authorities="rcsprovider" /> 64 65 66 <!-- In order to make this App eligible to be selected as the default Message App, the 67 following components are required to be declared even if they are not implemented. 68 --> 69 70 <!-- BroadcastReceiver that listens for incoming SMS messages --> 71 <receiver 72 android:name=".SmsReceiver" 73 android:permission="android.permission.BROADCAST_SMS"> 74 <intent-filter> 75 <action android:name="android.provider.Telephony.SMS_DELIVER" /> 76 </intent-filter> 77 </receiver> 78 79 <!-- BroadcastReceiver that listens for incoming MMS messages --> 80 <receiver 81 android:name=".MmsReceiver" 82 android:permission="android.permission.BROADCAST_WAP_PUSH"> 83 <intent-filter> 84 <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" /> 85 <data android:mimeType="application/vnd.wap.mms-message" /> 86 </intent-filter> 87 </receiver> 88 89 <!-- Activity that allows the user to send new SMS/MMS messages --> 90 <activity android:name=".ComposeSmsActivity"> 91 <intent-filter> 92 <action android:name="android.intent.action.SEND" /> 93 <action android:name="android.intent.action.SENDTO" /> 94 95 <category android:name="android.intent.category.DEFAULT" /> 96 <category android:name="android.intent.category.BROWSABLE" /> 97 98 <data android:scheme="sms" /> 99 <data android:scheme="smsto" /> 100 <data android:scheme="mms" /> 101 <data android:scheme="mmsto" /> 102 </intent-filter> 103 </activity> 104 105 <!-- Service that delivers messages from the phone "quick response" --> 106 <service 107 android:name=".HeadlessSmsSendService" 108 android:exported="true" 109 android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE"> 110 <intent-filter> 111 <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /> 112 <category android:name="android.intent.category.DEFAULT" /> 113 114 <data android:scheme="sms" /> 115 <data android:scheme="smsto" /> 116 <data android:scheme="mms" /> 117 <data android:scheme="mmsto" /> 118 </intent-filter> 119 </service> 120 121 <provider 122 android:name=".carrierLock.CarrierLockProvider" 123 android:authorities="com.sample.lockProvider" 124 android:exported="true" /> 125 </application> 126 127</manifest> 128