blob: 0a9802d490f24949e2d5dea49d55fc0a703d7daa [file] [log] [blame]
The Android Open Source Project7236c3a2009-03-03 19:32:44 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 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
Tom Taylore583f852015-11-20 12:16:16 -08007
The Android Open Source Project7236c3a2009-03-03 19:32:44 -08008 http://www.apache.org/licenses/LICENSE-2.0
Tom Taylore583f852015-11-20 12:16:16 -08009
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080010 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.providers.telephony"
Ben Komalo9dd4ab52011-09-23 15:12:47 -070019 coreApp="true"
Wei Huangb88772a2009-07-23 09:54:01 -070020 android:sharedUserId="android.uid.phone">
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080021
Jake Hamby1d714632013-09-18 12:19:33 -070022 <uses-permission android:name="android.permission.RECEIVE_SMS" />
Chih-Chung Chang17e36a22009-09-30 14:04:51 -070023 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Stanislav Zholninbf7055f2019-03-26 15:37:23 +000024 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Amith Yamasani43f9fb22014-09-10 15:56:47 -070025 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Amit Mahajan47f5b452015-08-12 16:39:25 -070026 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Jeff Sharkeyf5ab2ca2018-01-05 17:16:16 -070027 <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
Chih-Chung Chang17e36a22009-09-30 14:04:51 -070028
Hall Liu018f8b12020-02-25 15:58:56 -080029 <!-- Used to access PlatformCompat for security fix enforcement -->
30 <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
31 <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE" />
32
Roman Sorokin50ab9e42016-03-01 19:08:47 +010033 <protected-broadcast android:name="android.provider.action.EXTERNAL_PROVIDER_CHANGE" />
Ye Wena5a1bf12016-05-19 12:14:38 -070034 <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" />
35
Tom Taylore583f852015-11-20 12:16:16 -080036 <!-- This permission is only used to send the ACTION_EXTERNAL_PROVIDER_CHANGE intent. -->
37 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
changbettyd48723b2019-11-21 16:16:59 +080038 <!-- Allows accessing the messages on ICC -->
39 <uses-permission android:name="android.permission.ACCESS_MESSAGES_ON_ICC" />
Tom Taylore583f852015-11-20 12:16:16 -080040
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080041 <application android:process="com.android.phone"
42 android:allowClearUserData="false"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010043 android:fullBackupOnly="true"
Christopher Tate481140f2016-02-17 18:03:05 -080044 android:backupInForeground="true"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010045 android:backupAgent="TelephonyBackupAgent"
46 android:restoreAnyVersion="true"
Eric Fischer04178b02009-06-16 16:35:17 -070047 android:label="@string/app_label"
Alex Klyubin578ff8a2015-05-20 11:37:09 -070048 android:icon="@mipmap/ic_launcher_phone"
Jeff Sharkeybfda7b12015-11-18 15:35:56 -070049 android:usesCleartextTraffic="true"
Patrick Baumann3a91c1b2020-02-10 09:40:29 -080050 android:forceQueryable="true"
Jeff Sharkey001516a2016-03-17 11:05:20 -060051 android:defaultToDeviceProtectedStorage="true"
52 android:directBootAware="true">
Wei Huangb88772a2009-07-23 09:54:01 -070053
54 <provider android:name="TelephonyProvider"
55 android:authorities="telephony"
Nick Kralevichfddd8092012-07-28 16:06:30 -070056 android:exported="true"
Amith Yamasani887288c2014-11-06 09:01:20 -080057 android:singleUser="true"
Jake Hamby1d714632013-09-18 12:19:33 -070058 android:multiprocess="false" />
Wei Huangb88772a2009-07-23 09:54:01 -070059
Amith Yamasani2053d2e2014-08-05 10:22:46 -070060 <!-- This is a singleton provider that is used by all users.
61 A new instance is not created for each user. And the db is shared
62 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -070063 <provider android:name="SmsProvider"
64 android:authorities="sms"
Jake Hamby1d714632013-09-18 12:19:33 -070065 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070066 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070067 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070068 android:readPermission="android.permission.READ_SMS" />
Wei Huangb88772a2009-07-23 09:54:01 -070069
Vasu Nori9e28ac62018-02-13 17:52:09 -080070 <provider android:name="SmsChangesProvider"
71 android:authorities="sms-changes"
72 android:multiprocess="false"
73 android:exported="true"
74 android:singleUser="true"
75 android:readPermission="android.permission.READ_SMS" />
76
Amith Yamasani2053d2e2014-08-05 10:22:46 -070077 <!-- This is a singleton provider that is used by all users.
78 A new instance is not created for each user. And the db is shared
Svetoslav3429ad82015-04-16 16:47:03 -070079 as well.
80
81 Note: We do not require a write permission as it is guarded by an app op.
82 -->
Wei Huangb88772a2009-07-23 09:54:01 -070083 <provider android:name="MmsProvider"
84 android:authorities="mms"
Jake Hamby1d714632013-09-18 12:19:33 -070085 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070086 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070087 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070088 android:readPermission="android.permission.READ_SMS">
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080089 <grant-uri-permission android:pathPrefix="/part/" />
Wei Huangb88772a2009-07-23 09:54:01 -070090 <grant-uri-permission android:pathPrefix="/drm/" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080091 </provider>
Wei Huangb88772a2009-07-23 09:54:01 -070092
Amith Yamasani2053d2e2014-08-05 10:22:46 -070093 <!-- This is a singleton provider that is used by all users.
94 A new instance is not created for each user. And the db is shared
95 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -070096 <provider android:name="MmsSmsProvider"
97 android:authorities="mms-sms"
Jake Hamby1d714632013-09-18 12:19:33 -070098 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070099 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -0700100 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -0700101 android:readPermission="android.permission.READ_SMS" />
Steven Liu6e3c0dc2014-06-30 14:31:50 -0500102
pkanwar0144c1c2017-05-01 08:51:45 -0700103 <provider android:name="CarrierProvider"
104 android:authorities="carrier_information"
105 android:exported="true"
106 android:singleUser="true"
107 android:multiprocess="false"
108 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
109
Steven Liu6e3c0dc2014-06-30 14:31:50 -0500110 <provider android:name="HbpcdLookupProvider"
111 android:authorities="hbpcd_lookup"
112 android:exported="true"
113 android:singleUser="true"
114 android:multiprocess="false"
115 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
Roman Sorokin21736c32016-02-17 15:02:56 +0100116
fionaxu8900da42017-10-18 14:12:40 -0700117 <provider android:name="CarrierIdProvider"
fionaxuafe86412018-02-28 11:21:42 -0800118 android:authorities="carrier_id"
fionaxu8900da42017-10-18 14:12:40 -0700119 android:exported="true"
120 android:singleUser="true"
fionaxu8ac14e42018-01-23 15:14:10 -0800121 android:multiprocess="false" />
fionaxu8900da42017-10-18 14:12:40 -0700122
Roman Sorokin21736c32016-02-17 15:02:56 +0100123 <service
124 android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"
125 android:exported="false" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -0800126 </application>
127</manifest>