blob: ac3823d5fc5088ee667592963978eee525a84f25 [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" />
Tyler Gunn6decc5b2019-04-25 14:24:28 -070041 <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" />
Evan Charlton198fde82014-04-07 10:53:11 -070042 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Tyler Gunn5d66e1d2018-01-25 20:22:49 -080043 <!-- Required to determine source of ongoing audio recordings. -->
44 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
Santos Cordonea5cb932015-05-07 16:28:38 -070045 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070046 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Stanislav Zholnin7e91d892019-01-28 16:10:51 +000047 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Tyler Gunne71608c2018-03-05 13:42:33 -080048 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Youming Ye55071a82019-04-29 17:04:13 -070049 <uses-permission android:name="android.permission.SEND_SMS" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070050 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
Evan Charlton198fde82014-04-07 10:53:11 -070051 <uses-permission android:name="android.permission.VIBRATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070052 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Hall Liu9a7302f2017-05-31 14:47:08 -070053 <uses-permission android:name="android.permission.WAKE_LOCK" />
Abhijith Shastryfe7ecfe2016-02-08 22:19:58 -080054 <uses-permission android:name="android.permission.READ_BLOCKED_NUMBERS" />
55 <uses-permission android:name="android.permission.WRITE_BLOCKED_NUMBERS" />
Tyler Gunn2b17f232017-03-08 08:51:00 -080056 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
Tyler Gunnd1607682014-08-15 11:29:12 -070057
Santos Cordon0ceb5a12014-10-23 09:30:19 -070058 <permission
Yong Jiang271b9ae2014-10-09 12:08:54 -050059 android:name="android.permission.BROADCAST_CALLLOG_INFO"
60 android:label="Broadcast the call type/duration information"
61 android:protectionLevel="signature|system"/>
62
63 <permission
64 android:name="android.permission.PROCESS_CALLLOG_INFO"
65 android:label="Register to handle the broadcasted call type/duration information"
66 android:protectionLevel="signature|system"/>
67
Santos Cordon4c778492015-02-27 15:13:35 -080068 <permission
69 android:name="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION"
70 android:label="Broadcast phone account registration"
71 android:protectionLevel="signature|system"/>
72
73 <permission
74 android:name="android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION"
75 android:label="Process phone account registration"
76 android:protectionLevel="signature|system"/>
77
Tyler Gunnefe26992018-10-26 09:24:13 -070078 <permission
79 android:name="android.permission.HANDLE_CALL_INTENT"
80 android:label="Protects handling the call intent via the TelecomManager API."
81 android:protectionLevel="signature|system"/>
82
Santos Cordon581ec4a2014-12-15 09:59:26 -080083 <application android:label="@string/telecommAppLabel"
Ben Gilad4937ff92013-12-12 12:05:37 -080084 android:icon="@mipmap/ic_launcher_phone"
Jay Shraunerd5a71da2014-07-30 09:33:59 -070085 android:allowBackup="false"
Santos Cordon581ec4a2014-12-15 09:59:26 -080086 android:supportsRtl="true"
Alex Klyubinebe2fb32015-05-20 11:30:05 -070087 android:process="system"
Jeff Sharkeybbebba32015-11-18 15:36:11 -070088 android:usesCleartextTraffic="false"
Jeff Sharkeya0a76f92016-03-17 11:00:41 -060089 android:defaultToDeviceProtectedStorage="true"
90 android:directBootAware="true">
Santos Cordon10e68322013-12-12 16:06:56 -080091
92 <!-- CALL vs CALL_PRIVILEGED vs CALL_EMERGENCY
93 We have three different intents through which a call can be initiated each with its
94 own behavior.
95 1) CALL - Expected from any third party app with CALL_PHONE permission. Through this
96 intent, an app can call any number except emergency numbers.
97 2) CALL_PRIVILEGED - Expected from the dialer app and requires CALL_PRIVILEGED
98 permission, which is only held by the system dialer and the emergency dialer at the
99 time of this writing. Through this intent, an app can call any number including
100 emergency numbers.
101 3) CALL_EMERGENCY - Expected from the emergency dialer app and requires CALL_PRIVILEGED
102 permission. Through this intent, an app can call *only* emergency numbers. -->
103
Mohamedc9261852016-02-05 14:10:17 -0800104 <!-- Activity that displays UI for managing blocked numbers. -->
105 <activity android:name=".settings.BlockedNumbersActivity"
106 android:label="@string/blocked_numbers"
107 android:configChanges="orientation|screenSize|keyboardHidden"
108 android:theme="@style/Theme.Telecom.BlockedNumbers"
109 android:process=":ui"
Abhijith Shastryb1308ec2016-02-29 16:26:09 -0800110 android:exported="true">
111 <intent-filter>
112 <action android:name="android.telecom.action.MANAGE_BLOCKED_NUMBERS" />
113 <category android:name="android.intent.category.DEFAULT" />
114 </intent-filter>
115 </activity>
Ruijie Bai20e49952017-12-25 10:55:48 +0800116
117 <activity android:name=".settings.CallBlockDisabledActivity"
118 android:configChanges="keyboardHidden|orientation|screenSize"
119 android:excludeFromRecents="true"
120 android:launchMode="singleInstance"
121 android:theme="@style/Theme.Telecomm.Transparent"
122 android:process=":ui">
123 </activity>
124
Santos Cordon10e68322013-12-12 16:06:56 -0800125 <!-- Activity that starts the outgoing call process by listening to CALL intent which
126 contain contact information in the intent's data. CallActivity handles any data
127 URL with the schemes "tel", "sip", and "voicemail". It also handles URLs linked to
128 contacts provider entries. Any data not fitting the schema described is ignored. -->
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800129 <activity android:name=".components.UserCallActivity"
Jay Shrauner4d0b4192015-08-11 10:46:08 -0700130 android:label="@string/userCallActivityLabel"
Yorke Leed7255872014-08-25 15:03:51 -0700131 android:theme="@style/Theme.Telecomm.Transparent"
Santos Cordon10e68322013-12-12 16:06:56 -0800132 android:permission="android.permission.CALL_PHONE"
Santos Cordone6a33f22014-12-02 13:19:00 -0800133 android:excludeFromRecents="true"
134 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800135 <!-- CALL action intent filters for the various ways of initiating an outgoing call. -->
136 <intent-filter>
137 <action android:name="android.intent.action.CALL" />
138 <category android:name="android.intent.category.DEFAULT" />
139 <data android:scheme="tel" />
140 </intent-filter>
141 <!-- Specify an icon for SIP calls so that quick contacts widget shows a special SIP
142 icon for calls to SIP addresses. -->
143 <intent-filter android:icon="@drawable/ic_launcher_sip_call">
144 <action android:name="android.intent.action.CALL" />
145 <category android:name="android.intent.category.DEFAULT" />
146 <data android:scheme="sip" />
147 </intent-filter>
148 <intent-filter>
149 <action android:name="android.intent.action.CALL" />
150 <category android:name="android.intent.category.DEFAULT" />
151 <data android:scheme="voicemail" />
152 </intent-filter>
153 <!-- Omit default category below so that all Intents sent to this filter must be
154 explicit. -->
155 <intent-filter>
156 <action android:name="android.intent.action.CALL" />
157 <data android:mimeType="vnd.android.cursor.item/phone" />
158 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
159 <data android:mimeType="vnd.android.cursor.item/person" />
160 </intent-filter>
161 </activity>
162
163 <!-- Works like CallActivity with CALL_PRIVILEGED instead of CALL intent.
164 CALL_PRIVILEGED allows calls to emergency numbers unlike CALL which disallows it.
165 Intent-sender must have the CALL_PRIVILEGED permission or the broadcast will not be
166 processed. High priority of 1000 is used in all intent filters to prevent anything but
167 the system from processing this intent (b/8871505). -->
168 <activity-alias android:name="PrivilegedCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800169 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800170 android:permission="android.permission.CALL_PRIVILEGED"
171 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800172 <intent-filter android:priority="1000">
173 <action android:name="android.intent.action.CALL_PRIVILEGED" />
174 <category android:name="android.intent.category.DEFAULT" />
175 <data android:scheme="tel" />
176 </intent-filter>
177 <intent-filter android:priority="1000"
178 android:icon="@drawable/ic_launcher_sip_call">
179 <action android:name="android.intent.action.CALL_PRIVILEGED" />
180 <category android:name="android.intent.category.DEFAULT" />
181 <data android:scheme="sip" />
182 </intent-filter>
183 <intent-filter android:priority="1000">
184 <action android:name="android.intent.action.CALL_PRIVILEGED" />
185 <category android:name="android.intent.category.DEFAULT" />
186 <data android:scheme="voicemail" />
187 </intent-filter>
188 <intent-filter android:priority="1000">
189 <action android:name="android.intent.action.CALL_PRIVILEGED" />
190 <data android:mimeType="vnd.android.cursor.item/phone" />
191 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
192 <data android:mimeType="vnd.android.cursor.item/person" />
193 </intent-filter>
194 </activity-alias>
195
196 <!-- Works like CallActivity with CALL_EMERGENCY instead of CALL intent.
197 CALL_EMERGENCY allows calls *only* to emergency numbers. Intent-sender must have the
198 CALL_PRIVILEGED permission or the broadcast will not be processed. High priority of
199 1000 is used in all intent filters to prevent anything but the system from processing
200 this intent (b/8871505). -->
Santos Cordondf399862014-08-06 04:39:15 -0700201 <!-- TODO: Is there really a notion of an emergency SIP number? If not, can
Santos Cordon10e68322013-12-12 16:06:56 -0800202 that scheme be removed from this activity? -->
203 <activity-alias android:name="EmergencyCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800204 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800205 android:permission="android.permission.CALL_PRIVILEGED"
206 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800207 <intent-filter android:priority="1000">
208 <action android:name="android.intent.action.CALL_EMERGENCY" />
209 <category android:name="android.intent.category.DEFAULT" />
210 <data android:scheme="tel" />
211 </intent-filter>
212 <intent-filter android:priority="1000"
213 android:icon="@drawable/ic_launcher_sip_call">
214 <action android:name="android.intent.action.CALL_EMERGENCY" />
215 <category android:name="android.intent.category.DEFAULT" />
216 <data android:scheme="sip" />
217 </intent-filter>
218 <intent-filter android:priority="1000">
219 <action android:name="android.intent.action.CALL_EMERGENCY" />
220 <category android:name="android.intent.category.DEFAULT" />
221 <data android:scheme="voicemail" />
222 </intent-filter>
223 <intent-filter android:priority="1000">
224 <action android:name="android.intent.action.CALL_EMERGENCY" />
225 <data android:mimeType="vnd.android.cursor.item/phone" />
226 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
227 <data android:mimeType="vnd.android.cursor.item/person" />
228 </intent-filter>
229 </activity-alias>
230
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800231 <receiver android:name=".components.TelecomBroadcastReceiver" android:exported="false"
Santos Cordone6a33f22014-12-02 13:19:00 -0800232 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700233 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700234 <action android:name="com.android.server.telecom.ACTION_CLEAR_MISSED_CALLS" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700235 <action android:name="com.android.server.telecom.ACTION_CALL_BACK_FROM_NOTIFICATION" />
236 <action android:name="com.android.server.telecom.ACTION_SEND_SMS_FROM_NOTIFICATION" />
Tyler Gunn2b17f232017-03-08 08:51:00 -0800237 <action android:name="com.android.server.telecom.ACTION_ANSWER_FROM_NOTIFICATION" />
238 <action android:name="com.android.server.telecom.ACTION_REJECT_FROM_NOTIFICATION" />
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700239 <action android:name="com.android.server.telecom.PROCEED_WITH_CALL" />
240 <action android:name="com.android.server.telecom.CANCEL_CALL" />
sqiane976e682018-10-05 18:51:40 -0700241 <action android:name="com.android.server.telecom.PROCEED_WITH_REDIRECTED_CALL" />
242 <action android:name="com.android.server.telecom.CANCEL_REDIRECTED_CALL" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700243 </intent-filter>
244 </receiver>
245
tonyzhu8ba94c52018-10-23 15:37:04 +0800246 <receiver android:name=".components.AppUninstallBroadcastReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800247 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700248 <intent-filter>
249 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
250 <data android:scheme="package" />
251 </intent-filter>
252 </receiver>
Tyler Gunnd900ce62014-08-13 11:40:59 -0700253
Andrew Leeaf22dd12015-02-25 17:40:11 -0800254 <activity android:name=".RespondViaSmsSettings"
Ihab Awadff7493a2014-06-10 13:47:44 -0700255 android:label="@string/respond_via_sms_setting_title"
Andrew Leefd053f42014-11-12 18:09:58 -0800256 android:configChanges="orientation|screenSize|keyboardHidden"
Santos Cordone6a33f22014-12-02 13:19:00 -0800257 android:theme="@style/Theme.Telecom.DialerSettings"
258 android:process=":ui">
Ihab Awadff7493a2014-06-10 13:47:44 -0700259 <intent-filter>
260 <action android:name="android.intent.action.MAIN" />
Andrew Lee9631da42015-02-18 17:58:58 -0800261 <action android:name="android.telecom.action.SHOW_RESPOND_VIA_SMS_SETTINGS" />
262 <category android:name="android.intent.category.DEFAULT" />
Ihab Awadff7493a2014-06-10 13:47:44 -0700263 </intent-filter>
264 </activity>
Ihab Awad104f8062014-07-17 11:29:35 -0700265
Santos Cordon55344342015-05-04 13:05:30 -0700266 <activity android:name=".settings.EnableAccountPreferenceActivity"
267 android:label="@string/enable_account_preference_title"
268 android:configChanges="orientation|screenSize|keyboardHidden"
269 android:theme="@style/Theme.Telecom.DialerSettings"
270 android:process=":ui">
271 <intent-filter>
272 <action android:name="android.intent.action.MAIN" />
273 <category android:name="android.intent.category.DEFAULT" />
274 </intent-filter>
275 </activity>
276
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800277 <activity android:name=".components.ErrorDialogActivity"
Yorke Leed7255872014-08-25 15:03:51 -0700278 android:configChanges="orientation|screenSize|keyboardHidden"
279 android:excludeFromRecents="true"
280 android:launchMode="singleInstance"
Santos Cordone6a33f22014-12-02 13:19:00 -0800281 android:theme="@style/Theme.Telecomm.Transparent"
282 android:process=":ui">
Yorke Leed7255872014-08-25 15:03:51 -0700283 </activity>
284
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700285 <activity android:name=".ui.ConfirmCallDialogActivity"
286 android:configChanges="orientation|screenSize|keyboardHidden"
287 android:excludeFromRecents="true"
288 android:launchMode="singleInstance"
289 android:theme="@style/Theme.Telecomm.Transparent"
290 android:process=":ui">
291 </activity>
292
sqiane976e682018-10-05 18:51:40 -0700293 <activity android:name=".ui.CallRedirectionConfirmDialogActivity"
294 android:configChanges="orientation|screenSize|keyboardHidden"
295 android:excludeFromRecents="true"
296 android:launchMode="singleInstance"
297 android:theme="@style/Theme.Telecomm.Transparent"
298 android:process=":ui">
299 </activity>
300
301 <activity android:name=".ui.CallRedirectionTimeoutDialogActivity"
302 android:configChanges="orientation|screenSize|keyboardHidden"
303 android:excludeFromRecents="true"
304 android:launchMode="singleInstance"
305 android:theme="@style/Theme.Telecomm.Transparent"
306 android:process=":ui">
307 </activity>
308
Yorke Leeb5c5d442015-04-27 15:21:53 -0700309 <activity android:name=".components.ChangeDefaultDialerDialog"
310 android:label="@string/change_default_dialer_dialog_title"
311 android:excludeFromRecents="true"
312 android:theme="@*android:style/Theme.Material.Light.Dialog.Alert"
313 android:priority="1000"
314 android:process=":ui" >
315 <intent-filter>
316 <action android:name="android.telecom.action.CHANGE_DEFAULT_DIALER" />
317 <category android:name="android.intent.category.DEFAULT" />
318 </intent-filter>
319 </activity>
tonyzhu919ffa92018-10-01 16:28:52 +0800320
Tyler Gunn47eb3fe2018-03-12 14:38:47 -0700321 <activity android:name=".ui.TelecomDeveloperMenu"
Tyler Gunne0e1b572018-12-04 14:09:21 -0800322 android:label="@string/developer_title"
323 android:exported="false"
324 android:process=":ui" />
Yorke Leeb5c5d442015-04-27 15:21:53 -0700325
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800326 <service android:name=".components.BluetoothPhoneService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800327 android:singleUser="true"
328 android:process="system">
Santos Cordonfddf12e2014-09-25 15:08:57 -0700329 <intent-filter>
330 <action android:name="android.bluetooth.IBluetoothHeadsetPhone" />
331 </intent-filter>
332 </service>
333
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800334 <service android:name=".components.TelecomService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800335 android:singleUser="true"
336 android:process="system">
Santos Cordonf987d1a2014-12-02 03:37:03 -0800337 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700338 <action android:name="android.telecom.ITelecomService" />
Santos Cordonf987d1a2014-12-02 03:37:03 -0800339 </intent-filter>
340 </service>
341
Ben Gilad4937ff92013-12-12 12:05:37 -0800342 </application>
343</manifest>