1<?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
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     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"
19        coreApp="true"
20        android:sharedUserId="android.uid.phone">
21
22    <uses-permission android:name="android.permission.RECEIVE_SMS" />
23    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
24    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
25
26    <application android:process="com.android.phone"
27                 android:allowClearUserData="false"
28                 android:allowBackup="false"
29                 android:label="@string/app_label"
30                 android:icon="@mipmap/ic_launcher_phone">
31
32        <provider android:name="TelephonyProvider"
33                  android:authorities="telephony"
34                  android:exported="true"
35                  android:singleUser="true"
36                  android:multiprocess="false" />
37
38        <!-- This is a singleton provider that is used by all users.
39             A new instance is not created for each user. And the db is shared
40             as well. -->
41        <provider android:name="SmsProvider"
42                  android:authorities="sms"
43                  android:multiprocess="false"
44                  android:exported="true"
45                  android:singleUser="true"
46                  android:readPermission="android.permission.READ_SMS"
47                  android:writePermission="android.permission.WRITE_SMS" />
48
49        <!-- This is a singleton provider that is used by all users.
50             A new instance is not created for each user. And the db is shared
51             as well. -->
52        <provider android:name="MmsProvider"
53                  android:authorities="mms"
54                  android:multiprocess="false"
55                  android:exported="true"
56                  android:singleUser="true"
57                  android:readPermission="android.permission.READ_SMS"
58                  android:writePermission="android.permission.WRITE_SMS">
59            <grant-uri-permission android:pathPrefix="/part/" />
60            <grant-uri-permission android:pathPrefix="/drm/" />
61        </provider>
62
63        <!-- This is a singleton provider that is used by all users.
64             A new instance is not created for each user. And the db is shared
65             as well. -->
66        <provider android:name="MmsSmsProvider"
67                  android:authorities="mms-sms"
68                  android:multiprocess="false"
69                  android:exported="true"
70                  android:singleUser="true"
71                  android:readPermission="android.permission.READ_SMS"
72                  android:writePermission="android.permission.WRITE_SMS" />
73
74        <provider android:name="HbpcdLookupProvider"
75                  android:authorities="hbpcd_lookup"
76                  android:exported="true"
77                  android:singleUser="true"
78                  android:multiprocess="false"
79                  android:writePermission="android.permission.MODIFY_PHONE_STATE" />
80    </application>
81</manifest>
82