blob: d3ada021ced2cc44d180d535ff170bcd74b26031 [file] [log] [blame]
Ben Gilad4937ff92013-12-12 12:05:37 -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
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 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
Tyler Gunn7cc70b42014-09-12 22:17:27 -070019 package="com.android.server.telecom"
Santos Cordonb64c1502014-05-21 21:21:49 -070020 coreApp="true"
Santos Cordone6a33f22014-12-02 13:19:00 -080021 android:sharedUserId="android.uid.system">
Santos Cordon3e3b5412013-12-16 17:33:45 -080022
Bryce Lee41045b42015-08-05 13:10:39 -070023 <protected-broadcast android:name="android.intent.action.SHOW_MISSED_CALLS_NOTIFICATION" />
Hall Liuaf74a5c2018-09-19 18:05:51 -070024 <protected-broadcast android:name="com.android.server.telecom.MESSAGE_SENT" />
25
Bryce Lee41045b42015-08-05 13:10:39 -070026
Ben Gilad4937ff92013-12-12 12:05:37 -080027 <!-- Prevents the activity manager from delaying any activity-start
28 requests by this package, including requests immediately after
29 the user presses "home". -->
Santos Cordonea5cb932015-05-07 16:28:38 -070030 <uses-permission android:name="android.permission.BIND_CONNECTION_SERVICE" />
31 <uses-permission android:name="android.permission.BIND_INCALL_SERVICE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070032 <uses-permission android:name="android.permission.BLUETOOTH" />
33 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
Santos Cordonea5cb932015-05-07 16:28:38 -070034 <uses-permission android:name="android.permission.BROADCAST_CALLLOG_INFO" />
35 <uses-permission android:name="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION" />
Evan Charlton51bd35b2014-04-07 17:58:14 -070036 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
Tyler Gunnefe26992018-10-26 09:24:13 -070037 <uses-permission android:name="android.permission.HANDLE_CALL_INTENT" />
Santos Cordone6a33f22014-12-02 13:19:00 -080038 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070039 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Santos Cordonea5cb932015-05-07 16:28:38 -070040 <uses-permission android:name="android.permission.MANAGE_USERS" />
Evan Charlton198fde82014-04-07 10:53:11 -070041 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Tyler Gunn5d66e1d2018-01-25 20:22:49 -080042 <!-- Required to determine source of ongoing audio recordings. -->
43 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
Santos Cordonea5cb932015-05-07 16:28:38 -070044 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070045 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Tyler Gunne71608c2018-03-05 13:42:33 -080046 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070047 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
Evan Charlton198fde82014-04-07 10:53:11 -070048 <uses-permission android:name="android.permission.VIBRATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070049 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Hall Liu9a7302f2017-05-31 14:47:08 -070050 <uses-permission android:name="android.permission.WAKE_LOCK" />
Abhijith Shastryfe7ecfe2016-02-08 22:19:58 -080051 <uses-permission android:name="android.permission.READ_BLOCKED_NUMBERS" />
52 <uses-permission android:name="android.permission.WRITE_BLOCKED_NUMBERS" />
Tyler Gunn2b17f232017-03-08 08:51:00 -080053 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
Tyler Gunnd1607682014-08-15 11:29:12 -070054
Santos Cordon0ceb5a12014-10-23 09:30:19 -070055 <permission
Yong Jiang271b9ae2014-10-09 12:08:54 -050056 android:name="android.permission.BROADCAST_CALLLOG_INFO"
57 android:label="Broadcast the call type/duration information"
58 android:protectionLevel="signature|system"/>
59
60 <permission
61 android:name="android.permission.PROCESS_CALLLOG_INFO"
62 android:label="Register to handle the broadcasted call type/duration information"
63 android:protectionLevel="signature|system"/>
64
Santos Cordon4c778492015-02-27 15:13:35 -080065 <permission
66 android:name="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION"
67 android:label="Broadcast phone account registration"
68 android:protectionLevel="signature|system"/>
69
70 <permission
71 android:name="android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION"
72 android:label="Process phone account registration"
73 android:protectionLevel="signature|system"/>
74
Tyler Gunnefe26992018-10-26 09:24:13 -070075 <permission
76 android:name="android.permission.HANDLE_CALL_INTENT"
77 android:label="Protects handling the call intent via the TelecomManager API."
78 android:protectionLevel="signature|system"/>
79
Santos Cordon581ec4a2014-12-15 09:59:26 -080080 <application android:label="@string/telecommAppLabel"
Ben Gilad4937ff92013-12-12 12:05:37 -080081 android:icon="@mipmap/ic_launcher_phone"
Jay Shraunerd5a71da2014-07-30 09:33:59 -070082 android:allowBackup="false"
Santos Cordon581ec4a2014-12-15 09:59:26 -080083 android:supportsRtl="true"
Alex Klyubinebe2fb32015-05-20 11:30:05 -070084 android:process="system"
Jeff Sharkeybbebba32015-11-18 15:36:11 -070085 android:usesCleartextTraffic="false"
Jeff Sharkeya0a76f92016-03-17 11:00:41 -060086 android:defaultToDeviceProtectedStorage="true"
87 android:directBootAware="true">
Santos Cordon10e68322013-12-12 16:06:56 -080088
89 <!-- CALL vs CALL_PRIVILEGED vs CALL_EMERGENCY
90 We have three different intents through which a call can be initiated each with its
91 own behavior.
92 1) CALL - Expected from any third party app with CALL_PHONE permission. Through this
93 intent, an app can call any number except emergency numbers.
94 2) CALL_PRIVILEGED - Expected from the dialer app and requires CALL_PRIVILEGED
95 permission, which is only held by the system dialer and the emergency dialer at the
96 time of this writing. Through this intent, an app can call any number including
97 emergency numbers.
98 3) CALL_EMERGENCY - Expected from the emergency dialer app and requires CALL_PRIVILEGED
99 permission. Through this intent, an app can call *only* emergency numbers. -->
100
Mohamedc9261852016-02-05 14:10:17 -0800101 <!-- Activity that displays UI for managing blocked numbers. -->
102 <activity android:name=".settings.BlockedNumbersActivity"
103 android:label="@string/blocked_numbers"
104 android:configChanges="orientation|screenSize|keyboardHidden"
105 android:theme="@style/Theme.Telecom.BlockedNumbers"
106 android:process=":ui"
Abhijith Shastryb1308ec2016-02-29 16:26:09 -0800107 android:exported="true">
108 <intent-filter>
109 <action android:name="android.telecom.action.MANAGE_BLOCKED_NUMBERS" />
110 <category android:name="android.intent.category.DEFAULT" />
111 </intent-filter>
112 </activity>
Ruijie Bai20e49952017-12-25 10:55:48 +0800113
114 <activity android:name=".settings.CallBlockDisabledActivity"
115 android:configChanges="keyboardHidden|orientation|screenSize"
116 android:excludeFromRecents="true"
117 android:launchMode="singleInstance"
118 android:theme="@style/Theme.Telecomm.Transparent"
119 android:process=":ui">
120 </activity>
121
Santos Cordon10e68322013-12-12 16:06:56 -0800122 <!-- Activity that starts the outgoing call process by listening to CALL intent which
123 contain contact information in the intent's data. CallActivity handles any data
124 URL with the schemes "tel", "sip", and "voicemail". It also handles URLs linked to
125 contacts provider entries. Any data not fitting the schema described is ignored. -->
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800126 <activity android:name=".components.UserCallActivity"
Jay Shrauner4d0b4192015-08-11 10:46:08 -0700127 android:label="@string/userCallActivityLabel"
Yorke Leed7255872014-08-25 15:03:51 -0700128 android:theme="@style/Theme.Telecomm.Transparent"
Santos Cordon10e68322013-12-12 16:06:56 -0800129 android:permission="android.permission.CALL_PHONE"
Santos Cordone6a33f22014-12-02 13:19:00 -0800130 android:excludeFromRecents="true"
131 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800132 <!-- CALL action intent filters for the various ways of initiating an outgoing call. -->
133 <intent-filter>
134 <action android:name="android.intent.action.CALL" />
135 <category android:name="android.intent.category.DEFAULT" />
136 <data android:scheme="tel" />
137 </intent-filter>
138 <!-- Specify an icon for SIP calls so that quick contacts widget shows a special SIP
139 icon for calls to SIP addresses. -->
140 <intent-filter android:icon="@drawable/ic_launcher_sip_call">
141 <action android:name="android.intent.action.CALL" />
142 <category android:name="android.intent.category.DEFAULT" />
143 <data android:scheme="sip" />
144 </intent-filter>
145 <intent-filter>
146 <action android:name="android.intent.action.CALL" />
147 <category android:name="android.intent.category.DEFAULT" />
148 <data android:scheme="voicemail" />
149 </intent-filter>
150 <!-- Omit default category below so that all Intents sent to this filter must be
151 explicit. -->
152 <intent-filter>
153 <action android:name="android.intent.action.CALL" />
154 <data android:mimeType="vnd.android.cursor.item/phone" />
155 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
156 <data android:mimeType="vnd.android.cursor.item/person" />
157 </intent-filter>
158 </activity>
159
160 <!-- Works like CallActivity with CALL_PRIVILEGED instead of CALL intent.
161 CALL_PRIVILEGED allows calls to emergency numbers unlike CALL which disallows it.
162 Intent-sender must have the CALL_PRIVILEGED permission or the broadcast will not be
163 processed. High priority of 1000 is used in all intent filters to prevent anything but
164 the system from processing this intent (b/8871505). -->
165 <activity-alias android:name="PrivilegedCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800166 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800167 android:permission="android.permission.CALL_PRIVILEGED"
168 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800169 <intent-filter android:priority="1000">
170 <action android:name="android.intent.action.CALL_PRIVILEGED" />
171 <category android:name="android.intent.category.DEFAULT" />
172 <data android:scheme="tel" />
173 </intent-filter>
174 <intent-filter android:priority="1000"
175 android:icon="@drawable/ic_launcher_sip_call">
176 <action android:name="android.intent.action.CALL_PRIVILEGED" />
177 <category android:name="android.intent.category.DEFAULT" />
178 <data android:scheme="sip" />
179 </intent-filter>
180 <intent-filter android:priority="1000">
181 <action android:name="android.intent.action.CALL_PRIVILEGED" />
182 <category android:name="android.intent.category.DEFAULT" />
183 <data android:scheme="voicemail" />
184 </intent-filter>
185 <intent-filter android:priority="1000">
186 <action android:name="android.intent.action.CALL_PRIVILEGED" />
187 <data android:mimeType="vnd.android.cursor.item/phone" />
188 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
189 <data android:mimeType="vnd.android.cursor.item/person" />
190 </intent-filter>
191 </activity-alias>
192
193 <!-- Works like CallActivity with CALL_EMERGENCY instead of CALL intent.
194 CALL_EMERGENCY allows calls *only* to emergency numbers. Intent-sender must have the
195 CALL_PRIVILEGED permission or the broadcast will not be processed. High priority of
196 1000 is used in all intent filters to prevent anything but the system from processing
197 this intent (b/8871505). -->
Santos Cordondf399862014-08-06 04:39:15 -0700198 <!-- TODO: Is there really a notion of an emergency SIP number? If not, can
Santos Cordon10e68322013-12-12 16:06:56 -0800199 that scheme be removed from this activity? -->
200 <activity-alias android:name="EmergencyCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800201 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800202 android:permission="android.permission.CALL_PRIVILEGED"
203 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800204 <intent-filter android:priority="1000">
205 <action android:name="android.intent.action.CALL_EMERGENCY" />
206 <category android:name="android.intent.category.DEFAULT" />
207 <data android:scheme="tel" />
208 </intent-filter>
209 <intent-filter android:priority="1000"
210 android:icon="@drawable/ic_launcher_sip_call">
211 <action android:name="android.intent.action.CALL_EMERGENCY" />
212 <category android:name="android.intent.category.DEFAULT" />
213 <data android:scheme="sip" />
214 </intent-filter>
215 <intent-filter android:priority="1000">
216 <action android:name="android.intent.action.CALL_EMERGENCY" />
217 <category android:name="android.intent.category.DEFAULT" />
218 <data android:scheme="voicemail" />
219 </intent-filter>
220 <intent-filter android:priority="1000">
221 <action android:name="android.intent.action.CALL_EMERGENCY" />
222 <data android:mimeType="vnd.android.cursor.item/phone" />
223 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
224 <data android:mimeType="vnd.android.cursor.item/person" />
225 </intent-filter>
226 </activity-alias>
227
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800228 <receiver android:name=".components.TelecomBroadcastReceiver" android:exported="false"
Santos Cordone6a33f22014-12-02 13:19:00 -0800229 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700230 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700231 <action android:name="com.android.server.telecom.ACTION_CLEAR_MISSED_CALLS" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700232 <action android:name="com.android.server.telecom.ACTION_CALL_BACK_FROM_NOTIFICATION" />
233 <action android:name="com.android.server.telecom.ACTION_SEND_SMS_FROM_NOTIFICATION" />
Tyler Gunn2b17f232017-03-08 08:51:00 -0800234 <action android:name="com.android.server.telecom.ACTION_ANSWER_FROM_NOTIFICATION" />
235 <action android:name="com.android.server.telecom.ACTION_REJECT_FROM_NOTIFICATION" />
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700236 <action android:name="com.android.server.telecom.PROCEED_WITH_CALL" />
237 <action android:name="com.android.server.telecom.CANCEL_CALL" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700238 </intent-filter>
239 </receiver>
240
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800241 <receiver android:name=".components.PhoneAccountBroadcastReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800242 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700243 <intent-filter>
244 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
245 <data android:scheme="package" />
246 </intent-filter>
247 </receiver>
Tyler Gunnd900ce62014-08-13 11:40:59 -0700248
Andrew Leeaf22dd12015-02-25 17:40:11 -0800249 <activity android:name=".RespondViaSmsSettings"
Ihab Awadff7493a2014-06-10 13:47:44 -0700250 android:label="@string/respond_via_sms_setting_title"
Andrew Leefd053f42014-11-12 18:09:58 -0800251 android:configChanges="orientation|screenSize|keyboardHidden"
Santos Cordone6a33f22014-12-02 13:19:00 -0800252 android:theme="@style/Theme.Telecom.DialerSettings"
253 android:process=":ui">
Ihab Awadff7493a2014-06-10 13:47:44 -0700254 <intent-filter>
255 <action android:name="android.intent.action.MAIN" />
Andrew Lee9631da42015-02-18 17:58:58 -0800256 <action android:name="android.telecom.action.SHOW_RESPOND_VIA_SMS_SETTINGS" />
257 <category android:name="android.intent.category.DEFAULT" />
Ihab Awadff7493a2014-06-10 13:47:44 -0700258 </intent-filter>
259 </activity>
Ihab Awad104f8062014-07-17 11:29:35 -0700260
Santos Cordon55344342015-05-04 13:05:30 -0700261 <activity android:name=".settings.EnableAccountPreferenceActivity"
262 android:label="@string/enable_account_preference_title"
263 android:configChanges="orientation|screenSize|keyboardHidden"
264 android:theme="@style/Theme.Telecom.DialerSettings"
265 android:process=":ui">
266 <intent-filter>
267 <action android:name="android.intent.action.MAIN" />
268 <category android:name="android.intent.category.DEFAULT" />
269 </intent-filter>
270 </activity>
271
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800272 <activity android:name=".components.ErrorDialogActivity"
Yorke Leed7255872014-08-25 15:03:51 -0700273 android:configChanges="orientation|screenSize|keyboardHidden"
274 android:excludeFromRecents="true"
275 android:launchMode="singleInstance"
Santos Cordone6a33f22014-12-02 13:19:00 -0800276 android:theme="@style/Theme.Telecomm.Transparent"
277 android:process=":ui">
Yorke Leed7255872014-08-25 15:03:51 -0700278 </activity>
279
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700280 <activity android:name=".ui.ConfirmCallDialogActivity"
281 android:configChanges="orientation|screenSize|keyboardHidden"
282 android:excludeFromRecents="true"
283 android:launchMode="singleInstance"
284 android:theme="@style/Theme.Telecomm.Transparent"
285 android:process=":ui">
286 </activity>
287
Yorke Leeb5c5d442015-04-27 15:21:53 -0700288 <activity android:name=".components.ChangeDefaultDialerDialog"
289 android:label="@string/change_default_dialer_dialog_title"
290 android:excludeFromRecents="true"
291 android:theme="@*android:style/Theme.Material.Light.Dialog.Alert"
292 android:priority="1000"
293 android:process=":ui" >
294 <intent-filter>
295 <action android:name="android.telecom.action.CHANGE_DEFAULT_DIALER" />
296 <category android:name="android.intent.category.DEFAULT" />
297 </intent-filter>
298 </activity>
Tyler Gunn47eb3fe2018-03-12 14:38:47 -0700299 <activity android:name=".ui.TelecomDeveloperMenu"
300 android:label="@string/developer_title"
301 android:exported="false"
302 android:process=":ui" />
Yorke Leeb5c5d442015-04-27 15:21:53 -0700303
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800304 <service android:name=".components.BluetoothPhoneService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800305 android:singleUser="true"
306 android:process="system">
Santos Cordonfddf12e2014-09-25 15:08:57 -0700307 <intent-filter>
308 <action android:name="android.bluetooth.IBluetoothHeadsetPhone" />
309 </intent-filter>
310 </service>
311
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800312 <service android:name=".components.TelecomService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800313 android:singleUser="true"
314 android:process="system">
Santos Cordonf987d1a2014-12-02 03:37:03 -0800315 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700316 <action android:name="android.telecom.ITelecomService" />
Santos Cordonf987d1a2014-12-02 03:37:03 -0800317 </intent-filter>
318 </service>
319
Ben Gilad4937ff92013-12-12 12:05:37 -0800320 </application>
321</manifest>