blob: e5418e766cad2a10890554f1ff22c74ab0f81686 [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" />
34
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080035 <application android:process="com.android.phone"
36 android:allowClearUserData="false"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010037 android:fullBackupOnly="true"
Christopher Tate481140f2016-02-17 18:03:05 -080038 android:backupInForeground="true"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010039 android:backupAgent="TelephonyBackupAgent"
40 android:restoreAnyVersion="true"
Eric Fischer04178b02009-06-16 16:35:17 -070041 android:label="@string/app_label"
Alex Klyubin578ff8a2015-05-20 11:37:09 -070042 android:icon="@mipmap/ic_launcher_phone"
Jeff Sharkeybfda7b12015-11-18 15:35:56 -070043 android:usesCleartextTraffic="true"
Jeff Sharkey001516a2016-03-17 11:05:20 -060044 android:defaultToDeviceProtectedStorage="true"
45 android:directBootAware="true">
Wei Huangb88772a2009-07-23 09:54:01 -070046
47 <provider android:name="TelephonyProvider"
48 android:authorities="telephony"
Nick Kralevichfddd8092012-07-28 16:06:30 -070049 android:exported="true"
Amith Yamasani887288c2014-11-06 09:01:20 -080050 android:singleUser="true"
Jake Hamby1d714632013-09-18 12:19:33 -070051 android:multiprocess="false" />
Wei Huangb88772a2009-07-23 09:54:01 -070052
Amith Yamasani2053d2e2014-08-05 10:22:46 -070053 <!-- This is a singleton provider that is used by all users.
54 A new instance is not created for each user. And the db is shared
55 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -070056 <provider android:name="SmsProvider"
57 android:authorities="sms"
Jake Hamby1d714632013-09-18 12:19:33 -070058 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070059 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070060 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070061 android:readPermission="android.permission.READ_SMS" />
Wei Huangb88772a2009-07-23 09:54:01 -070062
Vasu Nori9e28ac62018-02-13 17:52:09 -080063 <provider android:name="SmsChangesProvider"
64 android:authorities="sms-changes"
65 android:multiprocess="false"
66 android:exported="true"
67 android:singleUser="true"
68 android:readPermission="android.permission.READ_SMS" />
69
Amith Yamasani2053d2e2014-08-05 10:22:46 -070070 <!-- This is a singleton provider that is used by all users.
71 A new instance is not created for each user. And the db is shared
Svetoslav3429ad82015-04-16 16:47:03 -070072 as well.
73
74 Note: We do not require a write permission as it is guarded by an app op.
75 -->
Wei Huangb88772a2009-07-23 09:54:01 -070076 <provider android:name="MmsProvider"
77 android:authorities="mms"
Jake Hamby1d714632013-09-18 12:19:33 -070078 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070079 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070080 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070081 android:readPermission="android.permission.READ_SMS">
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080082 <grant-uri-permission android:pathPrefix="/part/" />
Wei Huangb88772a2009-07-23 09:54:01 -070083 <grant-uri-permission android:pathPrefix="/drm/" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080084 </provider>
Wei Huangb88772a2009-07-23 09:54:01 -070085
Amith Yamasani2053d2e2014-08-05 10:22:46 -070086 <!-- This is a singleton provider that is used by all users.
87 A new instance is not created for each user. And the db is shared
88 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -070089 <provider android:name="MmsSmsProvider"
90 android:authorities="mms-sms"
Jake Hamby1d714632013-09-18 12:19:33 -070091 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070092 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070093 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070094 android:readPermission="android.permission.READ_SMS" />
Steven Liu6e3c0dc2014-06-30 14:31:50 -050095
pkanwar0144c1c2017-05-01 08:51:45 -070096 <provider android:name="CarrierProvider"
97 android:authorities="carrier_information"
98 android:exported="true"
99 android:singleUser="true"
100 android:multiprocess="false"
101 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
102
Steven Liu6e3c0dc2014-06-30 14:31:50 -0500103 <provider android:name="HbpcdLookupProvider"
104 android:authorities="hbpcd_lookup"
105 android:exported="true"
106 android:singleUser="true"
107 android:multiprocess="false"
108 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
Roman Sorokin21736c32016-02-17 15:02:56 +0100109
fionaxu8900da42017-10-18 14:12:40 -0700110 <provider android:name="CarrierIdProvider"
fionaxuafe86412018-02-28 11:21:42 -0800111 android:authorities="carrier_id"
fionaxu8900da42017-10-18 14:12:40 -0700112 android:exported="true"
113 android:singleUser="true"
fionaxu8ac14e42018-01-23 15:14:10 -0800114 android:multiprocess="false" />
fionaxu8900da42017-10-18 14:12:40 -0700115
Roman Sorokin21736c32016-02-17 15:02:56 +0100116 <service
117 android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"
118 android:exported="false" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -0800119 </application>
120</manifest>