blob: 19568dd128174ed48929f9b15771db42a6172281 [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" />
24
Ben Gilad4937ff92013-12-12 12:05:37 -080025 <!-- Prevents the activity manager from delaying any activity-start
26 requests by this package, including requests immediately after
27 the user presses "home". -->
Santos Cordonea5cb932015-05-07 16:28:38 -070028 <uses-permission android:name="android.permission.BIND_CONNECTION_SERVICE" />
29 <uses-permission android:name="android.permission.BIND_INCALL_SERVICE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070030 <uses-permission android:name="android.permission.BLUETOOTH" />
31 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
Santos Cordonea5cb932015-05-07 16:28:38 -070032 <uses-permission android:name="android.permission.BROADCAST_CALLLOG_INFO" />
33 <uses-permission android:name="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION" />
Evan Charlton51bd35b2014-04-07 17:58:14 -070034 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
Santos Cordone6a33f22014-12-02 13:19:00 -080035 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070036 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Santos Cordonea5cb932015-05-07 16:28:38 -070037 <uses-permission android:name="android.permission.MANAGE_USERS" />
Evan Charlton198fde82014-04-07 10:53:11 -070038 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Tyler Gunn5d66e1d2018-01-25 20:22:49 -080039 <!-- Required to determine source of ongoing audio recordings. -->
40 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
Santos Cordonea5cb932015-05-07 16:28:38 -070041 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070042 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Tyler Gunn980ccdc2018-03-07 00:49:42 +000043 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070044 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
Evan Charlton198fde82014-04-07 10:53:11 -070045 <uses-permission android:name="android.permission.VIBRATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070046 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Hall Liu9a7302f2017-05-31 14:47:08 -070047 <uses-permission android:name="android.permission.WAKE_LOCK" />
Abhijith Shastryfe7ecfe2016-02-08 22:19:58 -080048 <uses-permission android:name="android.permission.READ_BLOCKED_NUMBERS" />
49 <uses-permission android:name="android.permission.WRITE_BLOCKED_NUMBERS" />
Tyler Gunn2b17f232017-03-08 08:51:00 -080050 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
Shripal179984e8e2018-06-05 15:54:20 +000051 <uses-permission android:name="android.permission.CAMERA" />
Tyler Gunnd1607682014-08-15 11:29:12 -070052
Santos Cordon0ceb5a12014-10-23 09:30:19 -070053 <permission
Yong Jiang271b9ae2014-10-09 12:08:54 -050054 android:name="android.permission.BROADCAST_CALLLOG_INFO"
55 android:label="Broadcast the call type/duration information"
56 android:protectionLevel="signature|system"/>
57
58 <permission
59 android:name="android.permission.PROCESS_CALLLOG_INFO"
60 android:label="Register to handle the broadcasted call type/duration information"
61 android:protectionLevel="signature|system"/>
62
Santos Cordon4c778492015-02-27 15:13:35 -080063 <permission
64 android:name="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION"
65 android:label="Broadcast phone account registration"
66 android:protectionLevel="signature|system"/>
67
68 <permission
69 android:name="android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION"
70 android:label="Process phone account registration"
71 android:protectionLevel="signature|system"/>
72
Shripal179984e8e2018-06-05 15:54:20 +000073 <uses-feature android:name="android.hardware.camera" />
74
Santos Cordon581ec4a2014-12-15 09:59:26 -080075 <application android:label="@string/telecommAppLabel"
Ben Gilad4937ff92013-12-12 12:05:37 -080076 android:icon="@mipmap/ic_launcher_phone"
Jay Shraunerd5a71da2014-07-30 09:33:59 -070077 android:allowBackup="false"
Santos Cordon581ec4a2014-12-15 09:59:26 -080078 android:supportsRtl="true"
Alex Klyubinebe2fb32015-05-20 11:30:05 -070079 android:process="system"
Jeff Sharkeybbebba32015-11-18 15:36:11 -070080 android:usesCleartextTraffic="false"
Jeff Sharkeya0a76f92016-03-17 11:00:41 -060081 android:defaultToDeviceProtectedStorage="true"
82 android:directBootAware="true">
Santos Cordon10e68322013-12-12 16:06:56 -080083
84 <!-- CALL vs CALL_PRIVILEGED vs CALL_EMERGENCY
85 We have three different intents through which a call can be initiated each with its
86 own behavior.
87 1) CALL - Expected from any third party app with CALL_PHONE permission. Through this
88 intent, an app can call any number except emergency numbers.
89 2) CALL_PRIVILEGED - Expected from the dialer app and requires CALL_PRIVILEGED
90 permission, which is only held by the system dialer and the emergency dialer at the
91 time of this writing. Through this intent, an app can call any number including
92 emergency numbers.
93 3) CALL_EMERGENCY - Expected from the emergency dialer app and requires CALL_PRIVILEGED
94 permission. Through this intent, an app can call *only* emergency numbers. -->
95
Mohamedc9261852016-02-05 14:10:17 -080096 <!-- Activity that displays UI for managing blocked numbers. -->
97 <activity android:name=".settings.BlockedNumbersActivity"
98 android:label="@string/blocked_numbers"
99 android:configChanges="orientation|screenSize|keyboardHidden"
100 android:theme="@style/Theme.Telecom.BlockedNumbers"
101 android:process=":ui"
Abhijith Shastryb1308ec2016-02-29 16:26:09 -0800102 android:exported="true">
103 <intent-filter>
104 <action android:name="android.telecom.action.MANAGE_BLOCKED_NUMBERS" />
105 <category android:name="android.intent.category.DEFAULT" />
106 </intent-filter>
107 </activity>
Tyler Gunnaee51f22018-03-09 02:33:54 +0000108
109 <activity android:name=".settings.CallBlockDisabledActivity"
110 android:configChanges="keyboardHidden|orientation|screenSize"
111 android:excludeFromRecents="true"
112 android:launchMode="singleInstance"
113 android:theme="@style/Theme.Telecomm.Transparent"
114 android:process=":ui">
115 </activity>
116
Santos Cordon10e68322013-12-12 16:06:56 -0800117 <!-- Activity that starts the outgoing call process by listening to CALL intent which
118 contain contact information in the intent's data. CallActivity handles any data
119 URL with the schemes "tel", "sip", and "voicemail". It also handles URLs linked to
120 contacts provider entries. Any data not fitting the schema described is ignored. -->
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800121 <activity android:name=".components.UserCallActivity"
Jay Shrauner4d0b4192015-08-11 10:46:08 -0700122 android:label="@string/userCallActivityLabel"
Yorke Leed7255872014-08-25 15:03:51 -0700123 android:theme="@style/Theme.Telecomm.Transparent"
Santos Cordon10e68322013-12-12 16:06:56 -0800124 android:permission="android.permission.CALL_PHONE"
Santos Cordone6a33f22014-12-02 13:19:00 -0800125 android:excludeFromRecents="true"
126 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800127 <!-- CALL action intent filters for the various ways of initiating an outgoing call. -->
128 <intent-filter>
129 <action android:name="android.intent.action.CALL" />
130 <category android:name="android.intent.category.DEFAULT" />
131 <data android:scheme="tel" />
132 </intent-filter>
133 <!-- Specify an icon for SIP calls so that quick contacts widget shows a special SIP
134 icon for calls to SIP addresses. -->
135 <intent-filter android:icon="@drawable/ic_launcher_sip_call">
136 <action android:name="android.intent.action.CALL" />
137 <category android:name="android.intent.category.DEFAULT" />
138 <data android:scheme="sip" />
139 </intent-filter>
140 <intent-filter>
141 <action android:name="android.intent.action.CALL" />
142 <category android:name="android.intent.category.DEFAULT" />
143 <data android:scheme="voicemail" />
144 </intent-filter>
145 <!-- Omit default category below so that all Intents sent to this filter must be
146 explicit. -->
147 <intent-filter>
148 <action android:name="android.intent.action.CALL" />
149 <data android:mimeType="vnd.android.cursor.item/phone" />
150 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
151 <data android:mimeType="vnd.android.cursor.item/person" />
152 </intent-filter>
153 </activity>
154
155 <!-- Works like CallActivity with CALL_PRIVILEGED instead of CALL intent.
156 CALL_PRIVILEGED allows calls to emergency numbers unlike CALL which disallows it.
157 Intent-sender must have the CALL_PRIVILEGED permission or the broadcast will not be
158 processed. High priority of 1000 is used in all intent filters to prevent anything but
159 the system from processing this intent (b/8871505). -->
160 <activity-alias android:name="PrivilegedCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800161 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800162 android:permission="android.permission.CALL_PRIVILEGED"
163 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800164 <intent-filter android:priority="1000">
165 <action android:name="android.intent.action.CALL_PRIVILEGED" />
166 <category android:name="android.intent.category.DEFAULT" />
167 <data android:scheme="tel" />
168 </intent-filter>
169 <intent-filter android:priority="1000"
170 android:icon="@drawable/ic_launcher_sip_call">
171 <action android:name="android.intent.action.CALL_PRIVILEGED" />
172 <category android:name="android.intent.category.DEFAULT" />
173 <data android:scheme="sip" />
174 </intent-filter>
175 <intent-filter android:priority="1000">
176 <action android:name="android.intent.action.CALL_PRIVILEGED" />
177 <category android:name="android.intent.category.DEFAULT" />
178 <data android:scheme="voicemail" />
179 </intent-filter>
180 <intent-filter android:priority="1000">
181 <action android:name="android.intent.action.CALL_PRIVILEGED" />
182 <data android:mimeType="vnd.android.cursor.item/phone" />
183 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
184 <data android:mimeType="vnd.android.cursor.item/person" />
185 </intent-filter>
186 </activity-alias>
187
188 <!-- Works like CallActivity with CALL_EMERGENCY instead of CALL intent.
189 CALL_EMERGENCY allows calls *only* to emergency numbers. Intent-sender must have the
190 CALL_PRIVILEGED permission or the broadcast will not be processed. High priority of
191 1000 is used in all intent filters to prevent anything but the system from processing
192 this intent (b/8871505). -->
Santos Cordondf399862014-08-06 04:39:15 -0700193 <!-- TODO: Is there really a notion of an emergency SIP number? If not, can
Santos Cordon10e68322013-12-12 16:06:56 -0800194 that scheme be removed from this activity? -->
195 <activity-alias android:name="EmergencyCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800196 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800197 android:permission="android.permission.CALL_PRIVILEGED"
198 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800199 <intent-filter android:priority="1000">
200 <action android:name="android.intent.action.CALL_EMERGENCY" />
201 <category android:name="android.intent.category.DEFAULT" />
202 <data android:scheme="tel" />
203 </intent-filter>
204 <intent-filter android:priority="1000"
205 android:icon="@drawable/ic_launcher_sip_call">
206 <action android:name="android.intent.action.CALL_EMERGENCY" />
207 <category android:name="android.intent.category.DEFAULT" />
208 <data android:scheme="sip" />
209 </intent-filter>
210 <intent-filter android:priority="1000">
211 <action android:name="android.intent.action.CALL_EMERGENCY" />
212 <category android:name="android.intent.category.DEFAULT" />
213 <data android:scheme="voicemail" />
214 </intent-filter>
215 <intent-filter android:priority="1000">
216 <action android:name="android.intent.action.CALL_EMERGENCY" />
217 <data android:mimeType="vnd.android.cursor.item/phone" />
218 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
219 <data android:mimeType="vnd.android.cursor.item/person" />
220 </intent-filter>
221 </activity-alias>
222
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800223 <receiver android:name=".components.TelecomBroadcastReceiver" android:exported="false"
Santos Cordone6a33f22014-12-02 13:19:00 -0800224 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700225 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700226 <action android:name="com.android.server.telecom.ACTION_CLEAR_MISSED_CALLS" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700227 <action android:name="com.android.server.telecom.ACTION_CALL_BACK_FROM_NOTIFICATION" />
228 <action android:name="com.android.server.telecom.ACTION_SEND_SMS_FROM_NOTIFICATION" />
Tyler Gunn2b17f232017-03-08 08:51:00 -0800229 <action android:name="com.android.server.telecom.ACTION_ANSWER_FROM_NOTIFICATION" />
230 <action android:name="com.android.server.telecom.ACTION_REJECT_FROM_NOTIFICATION" />
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700231 <action android:name="com.android.server.telecom.PROCEED_WITH_CALL" />
232 <action android:name="com.android.server.telecom.CANCEL_CALL" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700233 </intent-filter>
234 </receiver>
235
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800236 <receiver android:name=".components.PhoneAccountBroadcastReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800237 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700238 <intent-filter>
239 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
240 <data android:scheme="package" />
241 </intent-filter>
242 </receiver>
Tyler Gunnd900ce62014-08-13 11:40:59 -0700243
Andrew Leeaf22dd12015-02-25 17:40:11 -0800244 <activity android:name=".RespondViaSmsSettings"
Ihab Awadff7493a2014-06-10 13:47:44 -0700245 android:label="@string/respond_via_sms_setting_title"
Andrew Leefd053f42014-11-12 18:09:58 -0800246 android:configChanges="orientation|screenSize|keyboardHidden"
Santos Cordone6a33f22014-12-02 13:19:00 -0800247 android:theme="@style/Theme.Telecom.DialerSettings"
248 android:process=":ui">
Ihab Awadff7493a2014-06-10 13:47:44 -0700249 <intent-filter>
250 <action android:name="android.intent.action.MAIN" />
Andrew Lee9631da42015-02-18 17:58:58 -0800251 <action android:name="android.telecom.action.SHOW_RESPOND_VIA_SMS_SETTINGS" />
252 <category android:name="android.intent.category.DEFAULT" />
Ihab Awadff7493a2014-06-10 13:47:44 -0700253 </intent-filter>
254 </activity>
Ihab Awad104f8062014-07-17 11:29:35 -0700255
Santos Cordon55344342015-05-04 13:05:30 -0700256 <activity android:name=".settings.EnableAccountPreferenceActivity"
257 android:label="@string/enable_account_preference_title"
258 android:configChanges="orientation|screenSize|keyboardHidden"
259 android:theme="@style/Theme.Telecom.DialerSettings"
260 android:process=":ui">
261 <intent-filter>
262 <action android:name="android.intent.action.MAIN" />
263 <category android:name="android.intent.category.DEFAULT" />
264 </intent-filter>
265 </activity>
266
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800267 <activity android:name=".components.ErrorDialogActivity"
Yorke Leed7255872014-08-25 15:03:51 -0700268 android:configChanges="orientation|screenSize|keyboardHidden"
269 android:excludeFromRecents="true"
270 android:launchMode="singleInstance"
Santos Cordone6a33f22014-12-02 13:19:00 -0800271 android:theme="@style/Theme.Telecomm.Transparent"
272 android:process=":ui">
Yorke Leed7255872014-08-25 15:03:51 -0700273 </activity>
274
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700275 <activity android:name=".ui.ConfirmCallDialogActivity"
276 android:configChanges="orientation|screenSize|keyboardHidden"
277 android:excludeFromRecents="true"
278 android:launchMode="singleInstance"
279 android:theme="@style/Theme.Telecomm.Transparent"
280 android:process=":ui">
281 </activity>
282
Yorke Leeb5c5d442015-04-27 15:21:53 -0700283 <activity android:name=".components.ChangeDefaultDialerDialog"
284 android:label="@string/change_default_dialer_dialog_title"
285 android:excludeFromRecents="true"
286 android:theme="@*android:style/Theme.Material.Light.Dialog.Alert"
287 android:priority="1000"
288 android:process=":ui" >
289 <intent-filter>
290 <action android:name="android.telecom.action.CHANGE_DEFAULT_DIALER" />
291 <category android:name="android.intent.category.DEFAULT" />
292 </intent-filter>
293 </activity>
294
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800295 <receiver android:name=".components.PrimaryCallReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800296 android:exported="true"
297 android:permission="android.permission.MODIFY_PHONE_STATE"
298 android:process="system">
Yorke Lee6dc1c752014-09-23 18:50:35 -0700299 </receiver>
300
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800301 <service android:name=".components.BluetoothPhoneService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800302 android:singleUser="true"
303 android:process="system">
Santos Cordonfddf12e2014-09-25 15:08:57 -0700304 <intent-filter>
305 <action android:name="android.bluetooth.IBluetoothHeadsetPhone" />
306 </intent-filter>
307 </service>
308
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800309 <service android:name=".components.TelecomService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800310 android:singleUser="true"
311 android:process="system">
Santos Cordonf987d1a2014-12-02 03:37:03 -0800312 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700313 <action android:name="android.telecom.ITelecomService" />
Santos Cordonf987d1a2014-12-02 03:37:03 -0800314 </intent-filter>
315 </service>
316
Ben Gilad4937ff92013-12-12 12:05:37 -0800317 </application>
318</manifest>