blob: 6633d1438bd8a6f7032bd09b3ad9dd76eeb4982c [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
Meng Wang3234aa92021-10-08 17:14:26 -070022 <permission android:name="android.permission.ACCESS_TELEPHONY_SIMINFO_DB"
23 android:label="Read and write SIMINFO table in TelephonyProvider"
24 android:protectionLevel="signature" />
25
Jake Hamby1d714632013-09-18 12:19:33 -070026 <uses-permission android:name="android.permission.RECEIVE_SMS" />
Chih-Chung Chang17e36a22009-09-30 14:04:51 -070027 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Stanislav Zholninbf7055f2019-03-26 15:37:23 +000028 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Amith Yamasani43f9fb22014-09-10 15:56:47 -070029 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Amit Mahajan47f5b452015-08-12 16:39:25 -070030 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Jeff Sharkeyf5ab2ca2018-01-05 17:16:16 -070031 <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
Chih-Chung Chang17e36a22009-09-30 14:04:51 -070032
Hall Liu018f8b12020-02-25 15:58:56 -080033 <!-- Used to access PlatformCompat for security fix enforcement -->
34 <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
35 <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE" />
36
Roman Sorokin50ab9e42016-03-01 19:08:47 +010037 <protected-broadcast android:name="android.provider.action.EXTERNAL_PROVIDER_CHANGE" />
Ye Wena5a1bf12016-05-19 12:14:38 -070038 <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" />
39
Tom Taylore583f852015-11-20 12:16:16 -080040 <!-- This permission is only used to send the ACTION_EXTERNAL_PROVIDER_CHANGE intent. -->
41 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
changbettyd48723b2019-11-21 16:16:59 +080042 <!-- Allows accessing the messages on ICC -->
43 <uses-permission android:name="android.permission.ACCESS_MESSAGES_ON_ICC" />
Tom Taylore583f852015-11-20 12:16:16 -080044
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080045 <application android:process="com.android.phone"
46 android:allowClearUserData="false"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010047 android:fullBackupOnly="true"
Christopher Tate481140f2016-02-17 18:03:05 -080048 android:backupInForeground="true"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010049 android:backupAgent="TelephonyBackupAgent"
50 android:restoreAnyVersion="true"
Eric Fischer04178b02009-06-16 16:35:17 -070051 android:label="@string/app_label"
Alex Klyubin578ff8a2015-05-20 11:37:09 -070052 android:icon="@mipmap/ic_launcher_phone"
Jeff Sharkeybfda7b12015-11-18 15:35:56 -070053 android:usesCleartextTraffic="true"
Patrick Baumann3a91c1b2020-02-10 09:40:29 -080054 android:forceQueryable="true"
Jeff Sharkey001516a2016-03-17 11:05:20 -060055 android:defaultToDeviceProtectedStorage="true"
56 android:directBootAware="true">
Wei Huangb88772a2009-07-23 09:54:01 -070057
58 <provider android:name="TelephonyProvider"
59 android:authorities="telephony"
Nick Kralevichfddd8092012-07-28 16:06:30 -070060 android:exported="true"
Amith Yamasani887288c2014-11-06 09:01:20 -080061 android:singleUser="true"
Jake Hamby1d714632013-09-18 12:19:33 -070062 android:multiprocess="false" />
Wei Huangb88772a2009-07-23 09:54:01 -070063
Amith Yamasani2053d2e2014-08-05 10:22:46 -070064 <!-- This is a singleton provider that is used by all users.
65 A new instance is not created for each user. And the db is shared
66 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -070067 <provider android:name="SmsProvider"
68 android:authorities="sms"
Jake Hamby1d714632013-09-18 12:19:33 -070069 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070070 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070071 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070072 android:readPermission="android.permission.READ_SMS" />
Wei Huangb88772a2009-07-23 09:54:01 -070073
Vasu Nori9e28ac62018-02-13 17:52:09 -080074 <provider android:name="SmsChangesProvider"
75 android:authorities="sms-changes"
76 android:multiprocess="false"
77 android:exported="true"
78 android:singleUser="true"
79 android:readPermission="android.permission.READ_SMS" />
80
Amith Yamasani2053d2e2014-08-05 10:22:46 -070081 <!-- This is a singleton provider that is used by all users.
82 A new instance is not created for each user. And the db is shared
Svetoslav3429ad82015-04-16 16:47:03 -070083 as well.
84
85 Note: We do not require a write permission as it is guarded by an app op.
86 -->
Wei Huangb88772a2009-07-23 09:54:01 -070087 <provider android:name="MmsProvider"
88 android:authorities="mms"
Jake Hamby1d714632013-09-18 12:19:33 -070089 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070090 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070091 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070092 android:readPermission="android.permission.READ_SMS">
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080093 <grant-uri-permission android:pathPrefix="/part/" />
Wei Huangb88772a2009-07-23 09:54:01 -070094 <grant-uri-permission android:pathPrefix="/drm/" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080095 </provider>
Wei Huangb88772a2009-07-23 09:54:01 -070096
Amith Yamasani2053d2e2014-08-05 10:22:46 -070097 <!-- This is a singleton provider that is used by all users.
98 A new instance is not created for each user. And the db is shared
99 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -0700100 <provider android:name="MmsSmsProvider"
101 android:authorities="mms-sms"
Jake Hamby1d714632013-09-18 12:19:33 -0700102 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -0700103 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -0700104 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -0700105 android:readPermission="android.permission.READ_SMS" />
Steven Liu6e3c0dc2014-06-30 14:31:50 -0500106
pkanwar0144c1c2017-05-01 08:51:45 -0700107 <provider android:name="CarrierProvider"
108 android:authorities="carrier_information"
109 android:exported="true"
110 android:singleUser="true"
111 android:multiprocess="false"
112 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
113
Steven Liu6e3c0dc2014-06-30 14:31:50 -0500114 <provider android:name="HbpcdLookupProvider"
115 android:authorities="hbpcd_lookup"
116 android:exported="true"
117 android:singleUser="true"
118 android:multiprocess="false"
119 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
Roman Sorokin21736c32016-02-17 15:02:56 +0100120
fionaxu8900da42017-10-18 14:12:40 -0700121 <provider android:name="CarrierIdProvider"
fionaxuafe86412018-02-28 11:21:42 -0800122 android:authorities="carrier_id"
fionaxu8900da42017-10-18 14:12:40 -0700123 android:exported="true"
124 android:singleUser="true"
fionaxu8ac14e42018-01-23 15:14:10 -0800125 android:multiprocess="false" />
fionaxu8900da42017-10-18 14:12:40 -0700126
Roman Sorokin21736c32016-02-17 15:02:56 +0100127 <service
128 android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"
129 android:exported="false" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -0800130 </application>
131</manifest>