Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2015 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 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
maxwen | bc3d466 | 2019-09-13 17:38:27 +0200 | [diff] [blame] | 18 | xmlns:tools="http://schemas.android.com/tools" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 19 | package="com.android.messaging" |
| 20 | android:installLocation="internalOnly"> |
| 21 | |
Jesse Chan | 53a2a67 | 2020-05-18 14:19:41 +0800 | [diff] [blame] | 22 | <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29" /> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 23 | |
| 24 | <!-- Application holds CPU wakelock while working in background --> |
| 25 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 26 | <!-- Application needs SMS/MMS permissions --> |
| 27 | <uses-permission android:name="android.permission.READ_SMS"/> |
| 28 | <uses-permission android:name="android.permission.WRITE_SMS"/> |
| 29 | <uses-permission android:name="android.permission.RECEIVE_SMS"/> |
| 30 | <uses-permission android:name="android.permission.RECEIVE_MMS"/> |
| 31 | <uses-permission android:name="android.permission.SEND_SMS"/> |
maxwen | 38f69bd | 2023-12-28 15:29:58 +0100 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" /> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 33 | <!-- Application needs access to MMS network --> |
| 34 | <uses-permission android:name="android.permission.INTERNET" /> |
| 35 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 36 | <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> |
| 37 | <!-- Application needs CONTACT permissions --> |
| 38 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 39 | <uses-permission android:name="android.permission.WRITE_CONTACTS"/> |
| 40 | <!-- Application needs to read profiles for the user itself from CP2 --> |
| 41 | <uses-permission android:name="android.permission.READ_PROFILE"/> |
| 42 | <uses-permission android:name="android.permission.VIBRATE"/> |
| 43 | <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
| 44 | |
| 45 | <uses-permission android:name="android.permission.CAMERA" /> |
| 46 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
| 47 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 48 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| 49 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 50 | <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" /> |
| 51 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Steve Elliott | f64cd7e | 2021-12-03 16:32:57 -0500 | [diff] [blame] | 52 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 53 | |
| 54 | <!-- Optional features --> |
| 55 | <uses-feature android:name="android.hardware.camera" android:required="false" /> |
| 56 | <uses-feature android:name="android.hardware.camera.front" android:required="false" /> |
| 57 | <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> |
| 58 | <uses-feature android:name="android.hardware.microphone" android:required="false" /> |
| 59 | <uses-feature android:name="android.hardware.screen.portrait" android:required="false" /> |
| 60 | |
Ido Ben-Hur | 7f2da99 | 2024-10-03 18:55:56 +0300 | [diff] [blame] | 61 | <queries> |
| 62 | <intent> |
| 63 | <action android:name="android.intent.action.SENDTO"/> |
| 64 | <data android:scheme="smsto" android:host="*" /> |
| 65 | </intent> |
| 66 | </queries> |
| 67 | |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 68 | <application |
| 69 | android:name="com.android.messaging.BugleApplication" |
| 70 | android:allowBackup="false" |
maxwen | 071d064 | 2017-12-31 00:06:24 +0100 | [diff] [blame] | 71 | android:icon="@mipmap/ic_launcher_messaging" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 72 | android:label="@string/app_name" |
Han Wang | bd06d56 | 2020-06-11 09:21:23 +0200 | [diff] [blame] | 73 | android:requestLegacyExternalStorage="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 74 | android:theme="@style/BugleTheme" |
| 75 | android:supportsRtl="true"> |
| 76 | |
| 77 | <!-- Displays a list of conversations --> |
| 78 | <activity |
| 79 | android:name=".ui.conversationlist.ConversationListActivity" |
| 80 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 81 | android:screenOrientation="user" |
| 82 | android:label="@string/app_name" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 83 | android:exported="true" |
Scott Warner | 2e57f0d | 2020-06-24 15:08:01 -0400 | [diff] [blame] | 84 | android:theme="@style/LaunchTheme"> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 85 | <intent-filter> |
| 86 | <action android:name="android.intent.action.MAIN" /> |
| 87 | <category android:name="android.intent.category.LAUNCHER" /> |
| 88 | <category android:name="android.intent.category.DEFAULT" /> |
| 89 | <category android:name="android.intent.category.APP_MESSAGING" /> |
| 90 | </intent-filter> |
| 91 | </activity> |
| 92 | |
| 93 | <activity |
| 94 | android:name=".ui.PermissionCheckActivity" |
| 95 | android:screenOrientation="portrait" |
| 96 | android:configChanges="orientation|screenSize|keyboardHidden" /> |
| 97 | |
| 98 | <!-- Launches a conversation (ensures correct app name shown in recents) --> |
| 99 | <activity |
| 100 | android:name=".ui.conversation.LaunchConversationActivity" |
| 101 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 102 | android:screenOrientation="user" |
| 103 | android:theme="@style/Invisible" |
| 104 | android:noHistory="true" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 105 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 106 | android:documentLaunchMode="always"> |
| 107 | <intent-filter> |
| 108 | <action android:name="android.intent.action.VIEW" /> |
| 109 | <action android:name="android.intent.action.SENDTO" /> |
| 110 | <category android:name="android.intent.category.DEFAULT" /> |
| 111 | <category android:name="android.intent.category.BROWSABLE" /> |
| 112 | <data android:scheme="sms" /> |
| 113 | <data android:scheme="smsto" /> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 114 | <data android:scheme="mms" /> |
| 115 | <data android:scheme="mmsto" /> |
| 116 | </intent-filter> |
| 117 | </activity> |
| 118 | |
| 119 | <!-- Displays a list of archived conversations --> |
| 120 | <activity |
| 121 | android:name=".ui.conversationlist.ArchivedConversationListActivity" |
| 122 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 123 | android:screenOrientation="user" |
| 124 | android:label="@string/archived_activity_title" |
| 125 | android:theme="@style/BugleTheme.ArchivedConversationListActivity" |
| 126 | android:parentActivityName="com.android.messaging.ui.conversationlist.ConversationListActivity"> |
| 127 | <meta-data |
| 128 | android:name="android.support.PARENT_ACTIVITY" |
| 129 | android:value="com.android.messaging.ui.conversationlist.ConversationListActivity" /> |
| 130 | </activity> |
| 131 | |
| 132 | <!-- Displays the contents of a single conversation --> |
| 133 | <activity |
| 134 | android:name=".ui.conversation.ConversationActivity" |
| 135 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 136 | android:screenOrientation="user" |
| 137 | android:windowSoftInputMode="stateHidden|adjustResize" |
| 138 | android:theme="@style/BugleTheme.ConversationActivity" |
| 139 | android:parentActivityName="com.android.messaging.ui.conversationlist.ConversationListActivity"> |
| 140 | <meta-data |
| 141 | android:name="android.support.PARENT_ACTIVITY" |
| 142 | android:value="com.android.messaging.ui.conversationlist.ConversationListActivity" /> |
| 143 | </activity> |
| 144 | |
| 145 | <!-- Blocked Participants --> |
| 146 | <activity |
| 147 | android:name=".ui.BlockedParticipantsActivity" |
| 148 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 149 | android:screenOrientation="user" |
| 150 | android:label="@string/blocked_contacts_title" |
| 151 | android:theme="@style/BugleTheme" |
| 152 | android:parentActivityName="com.android.messaging.ui.conversationlist.ConversationListActivity"> |
| 153 | <meta-data |
| 154 | android:name="android.support.PARENT_ACTIVITY" |
| 155 | android:value="com.android.messaging.ui.conversationlist.ConversationListActivity" /> |
| 156 | </activity> |
| 157 | |
| 158 | <!-- Full-screen photo viewer --> |
| 159 | <activity |
| 160 | android:name=".ui.photoviewer.BuglePhotoViewActivity" |
| 161 | android:label="@string/photo_view_activity_title" |
| 162 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 163 | android:screenOrientation="user" |
| 164 | android:theme="@style/BuglePhotoViewTheme" |
| 165 | /> |
| 166 | |
| 167 | <!-- Settings --> |
| 168 | <activity |
| 169 | android:name=".ui.appsettings.SettingsActivity" |
| 170 | android:label="@string/settings_activity_title" |
| 171 | android:theme="@style/BugleTheme.SettingsActivity" |
| 172 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 173 | android:screenOrientation="user" |
| 174 | android:parentActivityName="com.android.messaging.ui.conversationlist.ConversationListActivity"> |
| 175 | <meta-data |
| 176 | android:name="android.support.PARENT_ACTIVITY" |
| 177 | android:value="com.android.messaging.ui.conversationlist.ConversationListActivity" /> |
| 178 | </activity> |
| 179 | |
| 180 | <activity |
| 181 | android:name=".ui.appsettings.PerSubscriptionSettingsActivity" |
| 182 | android:label="@string/advanced_settings_activity_title" |
| 183 | android:theme="@style/BugleTheme.SettingsActivity" |
| 184 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 185 | android:screenOrientation="user" |
| 186 | android:parentActivityName="com.android.messaging.ui.appsettings.SettingsActivity"> |
| 187 | <meta-data |
| 188 | android:name="android.support.PARENT_ACTIVITY" |
| 189 | android:value="com.android.messaging.ui.appsettings.SettingsActivity" /> |
| 190 | </activity> |
| 191 | |
| 192 | <activity |
| 193 | android:name=".ui.appsettings.ApplicationSettingsActivity" |
| 194 | android:label="@string/general_settings_activity_title" |
| 195 | android:theme="@style/BugleTheme.SettingsActivity" |
| 196 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 197 | android:screenOrientation="user" |
| 198 | android:parentActivityName="com.android.messaging.ui.appsettings.SettingsActivity"> |
| 199 | <meta-data |
| 200 | android:name="android.support.PARENT_ACTIVITY" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 201 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 202 | android:value="com.android.messaging.ui.appsettings.SettingsActivity" /> |
| 203 | <intent-filter> |
| 204 | <action android:name="android.intent.action.MAIN" /> |
| 205 | <category android:name="android.intent.category.DEFAULT" /> |
| 206 | <category android:name="android.intent.category.NOTIFICATION_PREFERENCES" /> |
| 207 | </intent-filter> |
| 208 | </activity> |
| 209 | |
| 210 | <!-- Handles sharing intent --> |
| 211 | <activity |
| 212 | android:name=".ui.conversationlist.ShareIntentActivity" |
| 213 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 214 | android:screenOrientation="user" |
| 215 | android:theme="@style/BugleTheme.DialogActivity" |
| 216 | android:excludeFromRecents="true" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 217 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 218 | android:documentLaunchMode="always"> |
| 219 | <intent-filter |
| 220 | android:label="@string/share_intent_label"> |
| 221 | <action android:name="android.intent.action.SEND" /> |
Taesu Lee | defea9d | 2020-02-03 19:02:50 +0900 | [diff] [blame] | 222 | <action android:name="android.intent.action.SEND_MULTIPLE" /> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 223 | <category android:name="android.intent.category.DEFAULT" /> |
| 224 | <data android:mimeType="text/plain" /> |
| 225 | <data android:mimeType="text/x-vCard" /> |
| 226 | <data android:mimeType="text/x-vcard" /> |
| 227 | <data android:mimeType="image/*" /> |
| 228 | <data android:mimeType="audio/*" /> |
Taesu Lee | defea9d | 2020-02-03 19:02:50 +0900 | [diff] [blame] | 229 | <data android:mimeType="video/*" /> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 230 | <data android:mimeType="application/ogg" /> |
| 231 | </intent-filter> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 232 | </activity> |
| 233 | |
| 234 | <!-- People & Options --> |
| 235 | <activity |
| 236 | android:name=".ui.conversationsettings.PeopleAndOptionsActivity" |
| 237 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 238 | android:screenOrientation="user" |
| 239 | android:label="@string/people_and_options_activity_title" |
| 240 | android:theme="@style/BugleTheme" |
| 241 | android:parentActivityName="com.android.messaging.ui.conversation.ConversationActivity"> |
| 242 | <meta-data |
| 243 | android:name="android.support.PARENT_ACTIVITY" |
| 244 | android:value="com.android.messaging.ui.conversation.ConversationActivity" /> |
| 245 | </activity> |
| 246 | |
| 247 | <!-- License --> |
| 248 | <activity android:name=".ui.LicenseActivity" |
| 249 | android:exported="true" |
| 250 | android:theme="@android:style/Theme.Holo.Light.Dialog" |
| 251 | android:label="@string/menu_license"> |
| 252 | </activity> |
| 253 | |
| 254 | <!-- Message Forwarding --> |
| 255 | <activity |
| 256 | android:name=".ui.conversationlist.ForwardMessageActivity" |
| 257 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 258 | android:screenOrientation="user" |
| 259 | android:label="@string/forward_message_activity_title" |
| 260 | android:theme="@style/BugleTheme.DialogActivity"> |
| 261 | </activity> |
| 262 | |
| 263 | <!-- Entry point for handling remote input/actions. Currently, this is only used by Android |
| 264 | Wear to send voice replies. Since that uses PendingIntents, we don't need to export |
| 265 | this activity. If we want other apps to be able to use this activity at will, |
| 266 | we'll need to guard it with a signature-matching protected permission. We would also |
| 267 | need to add an intent filter and remove the android:exported attribute. --> |
| 268 | <activity |
| 269 | android:name=".ui.RemoteInputEntrypointActivity" |
| 270 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 271 | android:screenOrientation="user" |
| 272 | android:exported="false" |
| 273 | android:theme="@style/Invisible"> |
| 274 | </activity> |
| 275 | |
| 276 | <!-- VCard details --> |
| 277 | <activity |
| 278 | android:name=".ui.VCardDetailActivity" |
| 279 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 280 | android:screenOrientation="user" |
| 281 | android:label="@string/vcard_detail_activity_title" |
| 282 | android:theme="@style/BugleTheme"> |
| 283 | <meta-data |
| 284 | android:name="android.support.PARENT_ACTIVITY" |
| 285 | android:value=".ui.conversation.ConversationActivity" /> |
| 286 | </activity> |
| 287 | |
| 288 | <!-- Attachment chooser --> |
| 289 | <activity |
| 290 | android:name=".ui.attachmentchooser.AttachmentChooserActivity" |
| 291 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 292 | android:screenOrientation="user" |
| 293 | android:label="@string/attachment_chooser_activity_title" |
| 294 | android:theme="@style/BugleTheme" |
| 295 | android:parentActivityName="com.android.messaging.ui.conversation.ConversationActivity"> |
| 296 | <meta-data |
| 297 | android:name="android.support.PARENT_ACTIVITY" |
| 298 | android:value="com.android.messaging.ui.conversation.ConversationActivity" /> |
| 299 | </activity> |
| 300 | |
| 301 | <!-- Test activity that we use to host fragments/views. Unfortunately, apparently necessary |
| 302 | because Android framework test cases want activity to be in the instrumented package. |
| 303 | See http://developer.android.com/reference/android/test/ActivityInstrumentationTestCase2.html |
| 304 | --> |
| 305 | <activity |
| 306 | android:name=".ui.TestActivity" |
| 307 | android:configChanges="orientation|screenSize|keyboardHidden"> |
| 308 | </activity> |
| 309 | |
| 310 | <activity |
| 311 | android:name=".ui.debug.DebugMmsConfigActivity" |
| 312 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 313 | android:screenOrientation="user" |
| 314 | android:theme="@style/BugleTheme.DialogActivity" |
| 315 | android:exported="false"> |
| 316 | </activity> |
| 317 | |
| 318 | <provider android:name=".datamodel.MessagingContentProvider" android:label="@string/app_name" |
| 319 | android:authorities="com.android.messaging.datamodel.MessagingContentProvider" |
| 320 | android:exported="false" > |
| 321 | </provider> |
| 322 | |
| 323 | <provider android:name=".datamodel.MmsFileProvider" |
| 324 | android:authorities="com.android.messaging.datamodel.MmsFileProvider" |
Tom Taylor | a2aa53f | 2016-12-05 16:39:55 -0800 | [diff] [blame] | 325 | android:grantUriPermissions="true" |
| 326 | android:exported="false" /> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 327 | |
| 328 | <provider android:name=".datamodel.MediaScratchFileProvider" |
| 329 | android:authorities="com.android.messaging.datamodel.MediaScratchFileProvider" |
Tom Taylor | a2aa53f | 2016-12-05 16:39:55 -0800 | [diff] [blame] | 330 | android:grantUriPermissions="true" |
| 331 | android:exported="false" /> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 332 | |
| 333 | |
| 334 | <!-- Action Services --> |
Raman Tenneti | cdf40bb | 2019-02-12 20:15:13 -0800 | [diff] [blame] | 335 | <service android:name=".datamodel.action.ActionServiceImpl" |
| 336 | android:permission="android.permission.BIND_JOB_SERVICE" |
| 337 | android:exported="true"/> |
| 338 | <service android:name=".datamodel.action.BackgroundWorkerService" |
| 339 | android:permission="android.permission.BIND_JOB_SERVICE" |
| 340 | android:exported="true"/> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 341 | |
| 342 | <!-- Sms and Mms related items --> |
| 343 | |
| 344 | <!-- Intents for Notification and Pre-KLP Delivery --> |
| 345 | <!-- Registered with the highest possible priority (max_int) --> |
| 346 | <receiver android:name=".receiver.MmsWapPushReceiver" |
| 347 | android:enabled="false" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 348 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 349 | android:permission="android.permission.BROADCAST_WAP_PUSH"> |
| 350 | <intent-filter android:priority="2147483647"> |
| 351 | <action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" /> |
| 352 | <data android:mimeType="application/vnd.wap.mms-message" /> |
| 353 | </intent-filter> |
| 354 | </receiver> |
| 355 | <receiver android:name=".receiver.SmsReceiver" |
| 356 | android:enabled="false" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 357 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 358 | android:permission="android.permission.BROADCAST_SMS"> |
| 359 | <intent-filter android:priority="2147483647"> |
| 360 | <action android:name="android.provider.Telephony.SMS_RECEIVED" /> |
| 361 | </intent-filter> |
| 362 | <intent-filter android:priority="2147483647"> |
| 363 | <action android:name="android.provider.Telephony.MMS_DOWNLOADED" /> |
| 364 | </intent-filter> |
| 365 | </receiver> |
| 366 | |
| 367 | <!-- Intents for aborting SMS/MMS broadcasts pre-KLP --> |
| 368 | <!-- Registered for a priority just ahead of inbox Messaging apps (2) --> |
| 369 | <receiver android:name=".receiver.AbortMmsWapPushReceiver" |
| 370 | android:enabled="false" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 371 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 372 | android:permission="android.permission.BROADCAST_WAP_PUSH"> |
| 373 | <intent-filter android:priority="3"> |
| 374 | <action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" /> |
| 375 | <data android:mimeType="application/vnd.wap.mms-message" /> |
| 376 | </intent-filter> |
| 377 | </receiver> |
| 378 | <receiver android:name=".receiver.AbortSmsReceiver" |
| 379 | android:enabled="false" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 380 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 381 | android:permission="android.permission.BROADCAST_SMS"> |
| 382 | <intent-filter android:priority="3"> |
| 383 | <action android:name="android.provider.Telephony.SMS_RECEIVED" /> |
| 384 | </intent-filter> |
| 385 | </receiver> |
| 386 | |
| 387 | <!-- Intents for KLP+ Delivery --> |
| 388 | <receiver android:name=".receiver.MmsWapPushDeliverReceiver" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 389 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 390 | android:permission="android.permission.BROADCAST_WAP_PUSH"> |
| 391 | <intent-filter> |
| 392 | <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" /> |
| 393 | <data android:mimeType="application/vnd.wap.mms-message" /> |
| 394 | </intent-filter> |
| 395 | </receiver> |
| 396 | <receiver android:name=".receiver.SmsDeliverReceiver" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 397 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 398 | android:permission="android.permission.BROADCAST_SMS"> |
| 399 | <intent-filter> |
| 400 | <action android:name="android.provider.Telephony.SMS_DELIVER" /> |
Ido Ben-Hur | 7f2da99 | 2024-10-03 18:55:56 +0300 | [diff] [blame] | 401 | <category android:name="android.intent.category.DEFAULT"/> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 402 | </intent-filter> |
| 403 | </receiver> |
| 404 | |
| 405 | <receiver android:name=".receiver.SendStatusReceiver" |
| 406 | android:exported="false"> |
| 407 | <intent-filter> |
| 408 | <action android:name="com.android.messaging.receiver.SendStatusReceiver.MESSAGE_SENT" /> |
| 409 | <data android:scheme="content" /> |
| 410 | </intent-filter> |
| 411 | <intent-filter> |
| 412 | <action android:name="com.android.messaging.receiver.SendStatusReceiver.MESSAGE_DELIVERED" /> |
| 413 | </intent-filter> |
| 414 | <intent-filter> |
| 415 | <action android:name="com.android.messaging.receiver.SendStatusReceiver.MMS_SENT" /> |
| 416 | <data android:scheme="content" /> |
| 417 | </intent-filter> |
| 418 | <intent-filter> |
| 419 | <action android:name="com.android.messaging.receiver.SendStatusReceiver.MMS_DOWNLOADED" /> |
| 420 | <data android:scheme="content" /> |
| 421 | </intent-filter> |
| 422 | </receiver> |
| 423 | |
| 424 | <service android:name=".datamodel.NoConfirmationSmsSendService" |
| 425 | android:permission="android.permission.SEND_RESPOND_VIA_MESSAGE" |
| 426 | android:exported="true" > |
| 427 | <intent-filter> |
| 428 | <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /> |
| 429 | <category android:name="android.intent.category.DEFAULT" /> |
| 430 | <data android:scheme="sms" /> |
| 431 | <data android:scheme="smsto" /> |
Taesu Lee | fcf6699 | 2020-05-28 15:17:56 +0900 | [diff] [blame] | 432 | <data android:scheme="mms" /> |
| 433 | <data android:scheme="mmsto" /> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 434 | </intent-filter> |
| 435 | </service> |
| 436 | |
| 437 | <activity android:name=".ui.ClassZeroActivity" |
| 438 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 439 | android:screenOrientation="user" |
| 440 | android:label="@string/class_0_message_activity" |
| 441 | android:theme="@style/BugleTheme.DialogActivity" |
| 442 | android:launchMode="singleTask" |
| 443 | android:excludeFromRecents="true"> |
| 444 | </activity> |
| 445 | |
| 446 | <activity android:name=".ui.SmsStorageLowWarningActivity" |
Taesu Lee | 2b7516e | 2015-11-16 14:14:46 +0900 | [diff] [blame] | 447 | android:theme="@style/Translucent" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 448 | android:configChanges="orientation|screenSize|keyboardHidden" /> |
| 449 | |
| 450 | <activity android:name=".ui.appsettings.ApnSettingsActivity" |
| 451 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 452 | android:screenOrientation="user" |
| 453 | android:theme="@style/BugleTheme" |
| 454 | android:parentActivityName="com.android.messaging.ui.appsettings.SettingsActivity" /> |
| 455 | |
| 456 | <activity android:name=".ui.appsettings.ApnEditorActivity" |
| 457 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 458 | android:screenOrientation="user" |
| 459 | android:theme="@style/BugleTheme" |
| 460 | android:parentActivityName="com.android.messaging.ui.appsettings.ApnSettingsActivity"/> |
| 461 | |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 462 | <receiver android:name=".receiver.StorageStatusReceiver" |
| 463 | android:exported="true"> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 464 | <intent-filter> |
| 465 | <action android:name="android.intent.action.DEVICE_STORAGE_LOW" /> |
| 466 | </intent-filter> |
| 467 | <intent-filter> |
| 468 | <action android:name="android.intent.action.DEVICE_STORAGE_OK" /> |
| 469 | </intent-filter> |
| 470 | </receiver> |
| 471 | |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 472 | <receiver android:name=".receiver.BootAndPackageReplacedReceiver" |
| 473 | android:exported="true"> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 474 | <intent-filter> |
| 475 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 476 | <action android:name="android.intent.action.MY_PACKAGE_REPLACED"/> |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 477 | </intent-filter> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 478 | </receiver> |
| 479 | |
| 480 | <!-- Broadcast receiver that will be notified to reset notifications --> |
| 481 | <receiver |
| 482 | android:name=".receiver.NotificationReceiver" |
| 483 | android:exported="false"> |
| 484 | </receiver> |
| 485 | |
| 486 | <!-- Broadcast receiver that will be notified for ActionService alarms. --> |
| 487 | <receiver |
| 488 | android:name=".datamodel.action.ActionServiceImpl$PendingActionReceiver" |
| 489 | android:exported="false"> |
| 490 | <intent-filter> |
| 491 | <action android:name="com.android.messaging.datamodel.PENDING_ACTION" /> |
| 492 | </intent-filter> |
| 493 | </receiver> |
| 494 | |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 495 | <receiver android:name=".receiver.DefaultSmsSubscriptionChangeReceiver" |
| 496 | android:exported="true"> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 497 | <intent-filter> |
Malcolm Chen | 5aa1187 | 2017-04-27 14:54:12 -0700 | [diff] [blame] | 498 | <action android:name="android.telephony.action.DEFAULT_SMS_SUBSCRIPTION_CHANGED"/> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 499 | </intent-filter> |
| 500 | </receiver> |
| 501 | |
| 502 | <!-- Widget that displays the conversation list --> |
| 503 | <receiver android:name=".widget.BugleWidgetProvider" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 504 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 505 | android:label="@string/widget_conversation_name"> |
| 506 | <intent-filter> |
| 507 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 508 | </intent-filter> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 509 | <meta-data android:name="android.appwidget.provider" |
| 510 | android:resource="@xml/widget_conversation_list" /> |
| 511 | </receiver> |
| 512 | |
| 513 | <!-- Widget that displays the messages of a single conversation --> |
| 514 | <receiver android:name=".widget.WidgetConversationProvider" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 515 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 516 | android:label="@string/widget_conversation_name"> |
| 517 | <intent-filter> |
| 518 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 519 | </intent-filter> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 520 | <meta-data android:name="android.appwidget.provider" |
| 521 | android:resource="@xml/widget_conversation" /> |
| 522 | </receiver> |
| 523 | |
| 524 | <service android:name=".widget.WidgetConversationListService" |
| 525 | android:permission="android.permission.BIND_REMOTEVIEWS" |
| 526 | android:exported="false" /> |
| 527 | |
| 528 | <service android:name=".widget.WidgetConversationService" |
| 529 | android:permission="android.permission.BIND_REMOTEVIEWS" |
| 530 | android:exported="false" /> |
| 531 | |
| 532 | <activity android:name=".ui.WidgetPickConversationActivity" |
| 533 | android:theme="@style/BugleTheme" |
Ashwini Oruganti | 90bdc4e | 2020-03-23 15:00:53 -0700 | [diff] [blame] | 534 | android:exported="true" |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 535 | android:label="@string/app_name" > |
| 536 | <intent-filter> |
| 537 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
| 538 | </intent-filter> |
| 539 | </activity> |
| 540 | |
Aurimas Liutikas | 1b693ea | 2018-04-09 17:17:41 -0700 | [diff] [blame] | 541 | <service android:name="androidx.appcompat.mms.MmsService"/> |
Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 542 | </application> |
| 543 | |
| 544 | </manifest> |