blob: 5ac7fab80836d26649fd86b8f913d9435e58898b [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" />
Amith Yamasani43f9fb22014-09-10 15:56:47 -070024 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Amit Mahajan47f5b452015-08-12 16:39:25 -070025 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Chih-Chung Chang17e36a22009-09-30 14:04:51 -070026
Roman Sorokin50ab9e42016-03-01 19:08:47 +010027 <protected-broadcast android:name="android.provider.action.EXTERNAL_PROVIDER_CHANGE" />
Ye Wena5a1bf12016-05-19 12:14:38 -070028 <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED" />
29
Tom Taylore583f852015-11-20 12:16:16 -080030 <!-- This permission is only used to send the ACTION_EXTERNAL_PROVIDER_CHANGE intent. -->
31 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
32
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080033 <application android:process="com.android.phone"
34 android:allowClearUserData="false"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010035 android:fullBackupOnly="true"
Christopher Tate481140f2016-02-17 18:03:05 -080036 android:backupInForeground="true"
Roman Sorokin8b39acf2015-12-16 18:42:16 +010037 android:backupAgent="TelephonyBackupAgent"
38 android:restoreAnyVersion="true"
Eric Fischer04178b02009-06-16 16:35:17 -070039 android:label="@string/app_label"
Alex Klyubin578ff8a2015-05-20 11:37:09 -070040 android:icon="@mipmap/ic_launcher_phone"
Jeff Sharkeybfda7b12015-11-18 15:35:56 -070041 android:usesCleartextTraffic="true"
Jeff Sharkey001516a2016-03-17 11:05:20 -060042 android:defaultToDeviceProtectedStorage="true"
43 android:directBootAware="true">
Wei Huangb88772a2009-07-23 09:54:01 -070044
45 <provider android:name="TelephonyProvider"
46 android:authorities="telephony"
Nick Kralevichfddd8092012-07-28 16:06:30 -070047 android:exported="true"
Amith Yamasani887288c2014-11-06 09:01:20 -080048 android:singleUser="true"
Jake Hamby1d714632013-09-18 12:19:33 -070049 android:multiprocess="false" />
Wei Huangb88772a2009-07-23 09:54:01 -070050
Simran Basi395c5542017-03-15 15:16:58 -070051 <provider android:name="ServiceStateProvider"
52 android:authorities="service-state"
53 android:exported="true"
54 android:singleUser="true"
55 android:writePermission="android.permission.MODIFY_PHONE_STATE"
56 android:multiprocess="false" />
57
Amith Yamasani2053d2e2014-08-05 10:22:46 -070058 <!-- This is a singleton provider that is used by all users.
59 A new instance is not created for each user. And the db is shared
60 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -070061 <provider android:name="SmsProvider"
62 android:authorities="sms"
Jake Hamby1d714632013-09-18 12:19:33 -070063 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070064 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070065 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070066 android:readPermission="android.permission.READ_SMS" />
Wei Huangb88772a2009-07-23 09:54:01 -070067
Amith Yamasani2053d2e2014-08-05 10:22:46 -070068 <!-- This is a singleton provider that is used by all users.
69 A new instance is not created for each user. And the db is shared
Svetoslav3429ad82015-04-16 16:47:03 -070070 as well.
71
72 Note: We do not require a write permission as it is guarded by an app op.
73 -->
Wei Huangb88772a2009-07-23 09:54:01 -070074 <provider android:name="MmsProvider"
75 android:authorities="mms"
Jake Hamby1d714632013-09-18 12:19:33 -070076 android:multiprocess="false"
Nick Kralevichfddd8092012-07-28 16:06:30 -070077 android:exported="true"
Amith Yamasani2053d2e2014-08-05 10:22:46 -070078 android:singleUser="true"
Svetoslav3429ad82015-04-16 16:47:03 -070079 android:readPermission="android.permission.READ_SMS">
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080080 <grant-uri-permission android:pathPrefix="/part/" />
Wei Huangb88772a2009-07-23 09:54:01 -070081 <grant-uri-permission android:pathPrefix="/drm/" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -080082 </provider>
Wei Huangb88772a2009-07-23 09:54:01 -070083
Amith Yamasani2053d2e2014-08-05 10:22:46 -070084 <!-- This is a singleton provider that is used by all users.
85 A new instance is not created for each user. And the db is shared
86 as well. -->
Wei Huangb88772a2009-07-23 09:54:01 -070087 <provider android:name="MmsSmsProvider"
88 android:authorities="mms-sms"
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" />
Steven Liu6e3c0dc2014-06-30 14:31:50 -050093
pkanwar0144c1c2017-05-01 08:51:45 -070094 <provider android:name="CarrierProvider"
95 android:authorities="carrier_information"
96 android:exported="true"
97 android:singleUser="true"
98 android:multiprocess="false"
99 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
100
Steven Liu6e3c0dc2014-06-30 14:31:50 -0500101 <provider android:name="HbpcdLookupProvider"
102 android:authorities="hbpcd_lookup"
103 android:exported="true"
104 android:singleUser="true"
105 android:multiprocess="false"
106 android:writePermission="android.permission.MODIFY_PHONE_STATE" />
Roman Sorokin21736c32016-02-17 15:02:56 +0100107
108 <service
109 android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"
110 android:exported="false" />
The Android Open Source Project7236c3a2009-03-03 19:32:44 -0800111 </application>
112</manifest>