blob: 3a266e0de406d24047be52764aa2162a4fb8fa71 [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
Roman Sorokin50ab9e42016-03-01 19:08:47 +010029 <protected-broadcast android:name="android.provider.action.EXTERNAL_PROVIDER_CHANGE" />
Ye Wena5a1bf12016-05-19 12:14:38 -070030 <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" />
31
Tom Taylore583f852015-11-20 12:16:16 -080032 <!-- This permission is only used to send the ACTION_EXTERNAL_PROVIDER_CHANGE intent. -->
33 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
changbettyd48723b2019-11-21 16:16:59 +080034 <!-- Allows accessing the messages on ICC -->
35 <uses-permission android:name="android.permission.ACCESS_MESSAGES_ON_ICC" />
Tom Taylore583f852015-11-20 12:16:16 -080036
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080037 <application android:process="com.android.phone"
38 android:allowClearUserData="false"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010039 android:fullBackupOnly="true"
Christopher Tate481140f2016-02-17 18:03:05 -080040 android:backupInForeground="true"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010041 android:backupAgent="TelephonyBackupAgent"
42 android:restoreAnyVersion="true"
Eric Fischer04178b02009-06-16 16:35:17 -070043 android:label="@string/app_label"
Alex Klyubin578ff8a2015-05-20 11:37:09 -070044 android:icon="@mipmap/ic_launcher_phone"
Jeff Sharkeybfda7b12015-11-18 15:35:56 -070045 android:usesCleartextTraffic="true"
Jeff Sharkey001516a2016-03-17 11:05:20 -060046 android:defaultToDeviceProtectedStorage="true"
47 android:directBootAware="true">
Wei Huangb88772a2009-07-23 09:54:01 -070048
49 <provider android:name="TelephonyProvider"
50 android:authorities="telephony"
Nick Kralevichfddd8092012-07-28 16:06:30 -070051 android:exported="true"
Amith Yamasani887288c2014-11-06 09:01:20 -080052 android:singleUser="true"
Jake Hamby1d714632013-09-18 12:19:33 -070053 android:multiprocess="false" />
Wei Huangb88772a2009-07-23 09:54:01 -070054
Amith Yamasani2053d2e2014-08-05 10:22:46 -070055 <!-- This is a singleton provider that is used by all users.
56 A new instance is not created for each user. And the db is shared
57 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -070058 <provider android:name="SmsProvider"
59 android:authorities="sms"
Jake Hamby1d714632013-09-18 12:19:33 -070060 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070061 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070062 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070063 android:readPermission="android.permission.READ_SMS" />
Wei Huangb88772a2009-07-23 09:54:01 -070064
Vasu Nori9e28ac62018-02-13 17:52:09 -080065 <provider android:name="SmsChangesProvider"
66 android:authorities="sms-changes"
67 android:multiprocess="false"
68 android:exported="true"
69 android:singleUser="true"
70 android:readPermission="android.permission.READ_SMS" />
71
Amith Yamasani2053d2e2014-08-05 10:22:46 -070072 <!-- This is a singleton provider that is used by all users.
73 A new instance is not created for each user. And the db is shared
Svetoslav3429ad82015-04-16 16:47:03 -070074 as well.
75
76 Note: We do not require a write permission as it is guarded by an app op.
77 -->
Wei Huangb88772a2009-07-23 09:54:01 -070078 <provider android:name="MmsProvider"
79 android:authorities="mms"
Jake Hamby1d714632013-09-18 12:19:33 -070080 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070081 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070082 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070083 android:readPermission="android.permission.READ_SMS">
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080084 <grant-uri-permission android:pathPrefix="/part/" />
Wei Huangb88772a2009-07-23 09:54:01 -070085 <grant-uri-permission android:pathPrefix="/drm/" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080086 </provider>
Wei Huangb88772a2009-07-23 09:54:01 -070087
Amith Yamasani2053d2e2014-08-05 10:22:46 -070088 <!-- This is a singleton provider that is used by all users.
89 A new instance is not created for each user. And the db is shared
90 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -070091 <provider android:name="MmsSmsProvider"
92 android:authorities="mms-sms"
Jake Hamby1d714632013-09-18 12:19:33 -070093 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070094 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070095 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070096 android:readPermission="android.permission.READ_SMS" />
Steven Liu6e3c0dc2014-06-30 14:31:50 -050097
pkanwar0144c1c2017-05-01 08:51:45 -070098 <provider android:name="CarrierProvider"
99 android:authorities="carrier_information"
100 android:exported="true"
101 android:singleUser="true"
102 android:multiprocess="false"
103 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
104
Steven Liu6e3c0dc2014-06-30 14:31:50 -0500105 <provider android:name="HbpcdLookupProvider"
106 android:authorities="hbpcd_lookup"
107 android:exported="true"
108 android:singleUser="true"
109 android:multiprocess="false"
110 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
Roman Sorokin21736c32016-02-17 15:02:56 +0100111
fionaxu8900da42017-10-18 14:12:40 -0700112 <provider android:name="CarrierIdProvider"
fionaxuafe86412018-02-28 11:21:42 -0800113 android:authorities="carrier_id"
fionaxu8900da42017-10-18 14:12:40 -0700114 android:exported="true"
115 android:singleUser="true"
fionaxu8ac14e42018-01-23 15:14:10 -0800116 android:multiprocess="false" />
fionaxu8900da42017-10-18 14:12:40 -0700117
Roman Sorokin21736c32016-02-17 15:02:56 +0100118 <service
119 android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"
120 android:exported="false" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -0800121 </application>
122</manifest>