blob: c8eee368301d02d24456d443b17d4e62c2971cae [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" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070049 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
Evan Charlton198fde82014-04-07 10:53:11 -070050 <uses-permission android:name="android.permission.VIBRATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070051 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Hall Liu9a7302f2017-05-31 14:47:08 -070052 <uses-permission android:name="android.permission.WAKE_LOCK" />
Abhijith Shastryfe7ecfe2016-02-08 22:19:58 -080053 <uses-permission android:name="android.permission.READ_BLOCKED_NUMBERS" />
54 <uses-permission android:name="android.permission.WRITE_BLOCKED_NUMBERS" />
Tyler Gunn2b17f232017-03-08 08:51:00 -080055 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
Tyler Gunnd1607682014-08-15 11:29:12 -070056
Santos Cordon0ceb5a12014-10-23 09:30:19 -070057 <permission
Yong Jiang271b9ae2014-10-09 12:08:54 -050058 android:name="android.permission.BROADCAST_CALLLOG_INFO"
59 android:label="Broadcast the call type/duration information"
60 android:protectionLevel="signature|system"/>
61
62 <permission
63 android:name="android.permission.PROCESS_CALLLOG_INFO"
64 android:label="Register to handle the broadcasted call type/duration information"
65 android:protectionLevel="signature|system"/>
66
Santos Cordon4c778492015-02-27 15:13:35 -080067 <permission
68 android:name="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION"
69 android:label="Broadcast phone account registration"
70 android:protectionLevel="signature|system"/>
71
72 <permission
73 android:name="android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION"
74 android:label="Process phone account registration"
75 android:protectionLevel="signature|system"/>
76
Tyler Gunnefe26992018-10-26 09:24:13 -070077 <permission
78 android:name="android.permission.HANDLE_CALL_INTENT"
79 android:label="Protects handling the call intent via the TelecomManager API."
80 android:protectionLevel="signature|system"/>
81
Santos Cordon581ec4a2014-12-15 09:59:26 -080082 <application android:label="@string/telecommAppLabel"
Ben Gilad4937ff92013-12-12 12:05:37 -080083 android:icon="@mipmap/ic_launcher_phone"
Jay Shraunerd5a71da2014-07-30 09:33:59 -070084 android:allowBackup="false"
Santos Cordon581ec4a2014-12-15 09:59:26 -080085 android:supportsRtl="true"
Alex Klyubinebe2fb32015-05-20 11:30:05 -070086 android:process="system"
Jeff Sharkeybbebba32015-11-18 15:36:11 -070087 android:usesCleartextTraffic="false"
Jeff Sharkeya0a76f92016-03-17 11:00:41 -060088 android:defaultToDeviceProtectedStorage="true"
89 android:directBootAware="true">
Santos Cordon10e68322013-12-12 16:06:56 -080090
91 <!-- CALL vs CALL_PRIVILEGED vs CALL_EMERGENCY
92 We have three different intents through which a call can be initiated each with its
93 own behavior.
94 1) CALL - Expected from any third party app with CALL_PHONE permission. Through this
95 intent, an app can call any number except emergency numbers.
96 2) CALL_PRIVILEGED - Expected from the dialer app and requires CALL_PRIVILEGED
97 permission, which is only held by the system dialer and the emergency dialer at the
98 time of this writing. Through this intent, an app can call any number including
99 emergency numbers.
100 3) CALL_EMERGENCY - Expected from the emergency dialer app and requires CALL_PRIVILEGED
101 permission. Through this intent, an app can call *only* emergency numbers. -->
102
Mohamedc9261852016-02-05 14:10:17 -0800103 <!-- Activity that displays UI for managing blocked numbers. -->
104 <activity android:name=".settings.BlockedNumbersActivity"
105 android:label="@string/blocked_numbers"
106 android:configChanges="orientation|screenSize|keyboardHidden"
107 android:theme="@style/Theme.Telecom.BlockedNumbers"
108 android:process=":ui"
Abhijith Shastryb1308ec2016-02-29 16:26:09 -0800109 android:exported="true">
110 <intent-filter>
111 <action android:name="android.telecom.action.MANAGE_BLOCKED_NUMBERS" />
112 <category android:name="android.intent.category.DEFAULT" />
113 </intent-filter>
114 </activity>
Ruijie Bai20e49952017-12-25 10:55:48 +0800115
116 <activity android:name=".settings.CallBlockDisabledActivity"
117 android:configChanges="keyboardHidden|orientation|screenSize"
118 android:excludeFromRecents="true"
119 android:launchMode="singleInstance"
120 android:theme="@style/Theme.Telecomm.Transparent"
121 android:process=":ui">
122 </activity>
123
Santos Cordon10e68322013-12-12 16:06:56 -0800124 <!-- Activity that starts the outgoing call process by listening to CALL intent which
125 contain contact information in the intent's data. CallActivity handles any data
126 URL with the schemes "tel", "sip", and "voicemail". It also handles URLs linked to
127 contacts provider entries. Any data not fitting the schema described is ignored. -->
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800128 <activity android:name=".components.UserCallActivity"
Jay Shrauner4d0b4192015-08-11 10:46:08 -0700129 android:label="@string/userCallActivityLabel"
Yorke Leed7255872014-08-25 15:03:51 -0700130 android:theme="@style/Theme.Telecomm.Transparent"
Santos Cordon10e68322013-12-12 16:06:56 -0800131 android:permission="android.permission.CALL_PHONE"
Santos Cordone6a33f22014-12-02 13:19:00 -0800132 android:excludeFromRecents="true"
133 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800134 <!-- CALL action intent filters for the various ways of initiating an outgoing call. -->
135 <intent-filter>
136 <action android:name="android.intent.action.CALL" />
137 <category android:name="android.intent.category.DEFAULT" />
138 <data android:scheme="tel" />
139 </intent-filter>
140 <!-- Specify an icon for SIP calls so that quick contacts widget shows a special SIP
141 icon for calls to SIP addresses. -->
142 <intent-filter android:icon="@drawable/ic_launcher_sip_call">
143 <action android:name="android.intent.action.CALL" />
144 <category android:name="android.intent.category.DEFAULT" />
145 <data android:scheme="sip" />
146 </intent-filter>
147 <intent-filter>
148 <action android:name="android.intent.action.CALL" />
149 <category android:name="android.intent.category.DEFAULT" />
150 <data android:scheme="voicemail" />
151 </intent-filter>
152 <!-- Omit default category below so that all Intents sent to this filter must be
153 explicit. -->
154 <intent-filter>
155 <action android:name="android.intent.action.CALL" />
156 <data android:mimeType="vnd.android.cursor.item/phone" />
157 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
158 <data android:mimeType="vnd.android.cursor.item/person" />
159 </intent-filter>
160 </activity>
161
162 <!-- Works like CallActivity with CALL_PRIVILEGED instead of CALL intent.
163 CALL_PRIVILEGED allows calls to emergency numbers unlike CALL which disallows it.
164 Intent-sender must have the CALL_PRIVILEGED permission or the broadcast will not be
165 processed. High priority of 1000 is used in all intent filters to prevent anything but
166 the system from processing this intent (b/8871505). -->
167 <activity-alias android:name="PrivilegedCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800168 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800169 android:permission="android.permission.CALL_PRIVILEGED"
170 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800171 <intent-filter android:priority="1000">
172 <action android:name="android.intent.action.CALL_PRIVILEGED" />
173 <category android:name="android.intent.category.DEFAULT" />
174 <data android:scheme="tel" />
175 </intent-filter>
176 <intent-filter android:priority="1000"
177 android:icon="@drawable/ic_launcher_sip_call">
178 <action android:name="android.intent.action.CALL_PRIVILEGED" />
179 <category android:name="android.intent.category.DEFAULT" />
180 <data android:scheme="sip" />
181 </intent-filter>
182 <intent-filter android:priority="1000">
183 <action android:name="android.intent.action.CALL_PRIVILEGED" />
184 <category android:name="android.intent.category.DEFAULT" />
185 <data android:scheme="voicemail" />
186 </intent-filter>
187 <intent-filter android:priority="1000">
188 <action android:name="android.intent.action.CALL_PRIVILEGED" />
189 <data android:mimeType="vnd.android.cursor.item/phone" />
190 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
191 <data android:mimeType="vnd.android.cursor.item/person" />
192 </intent-filter>
193 </activity-alias>
194
195 <!-- Works like CallActivity with CALL_EMERGENCY instead of CALL intent.
196 CALL_EMERGENCY allows calls *only* to emergency numbers. Intent-sender must have the
197 CALL_PRIVILEGED permission or the broadcast will not be processed. High priority of
198 1000 is used in all intent filters to prevent anything but the system from processing
199 this intent (b/8871505). -->
Santos Cordondf399862014-08-06 04:39:15 -0700200 <!-- TODO: Is there really a notion of an emergency SIP number? If not, can
Santos Cordon10e68322013-12-12 16:06:56 -0800201 that scheme be removed from this activity? -->
202 <activity-alias android:name="EmergencyCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800203 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800204 android:permission="android.permission.CALL_PRIVILEGED"
205 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800206 <intent-filter android:priority="1000">
207 <action android:name="android.intent.action.CALL_EMERGENCY" />
208 <category android:name="android.intent.category.DEFAULT" />
209 <data android:scheme="tel" />
210 </intent-filter>
211 <intent-filter android:priority="1000"
212 android:icon="@drawable/ic_launcher_sip_call">
213 <action android:name="android.intent.action.CALL_EMERGENCY" />
214 <category android:name="android.intent.category.DEFAULT" />
215 <data android:scheme="sip" />
216 </intent-filter>
217 <intent-filter android:priority="1000">
218 <action android:name="android.intent.action.CALL_EMERGENCY" />
219 <category android:name="android.intent.category.DEFAULT" />
220 <data android:scheme="voicemail" />
221 </intent-filter>
222 <intent-filter android:priority="1000">
223 <action android:name="android.intent.action.CALL_EMERGENCY" />
224 <data android:mimeType="vnd.android.cursor.item/phone" />
225 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
226 <data android:mimeType="vnd.android.cursor.item/person" />
227 </intent-filter>
228 </activity-alias>
229
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800230 <receiver android:name=".components.TelecomBroadcastReceiver" android:exported="false"
Santos Cordone6a33f22014-12-02 13:19:00 -0800231 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700232 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700233 <action android:name="com.android.server.telecom.ACTION_CLEAR_MISSED_CALLS" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700234 <action android:name="com.android.server.telecom.ACTION_CALL_BACK_FROM_NOTIFICATION" />
235 <action android:name="com.android.server.telecom.ACTION_SEND_SMS_FROM_NOTIFICATION" />
Tyler Gunn2b17f232017-03-08 08:51:00 -0800236 <action android:name="com.android.server.telecom.ACTION_ANSWER_FROM_NOTIFICATION" />
237 <action android:name="com.android.server.telecom.ACTION_REJECT_FROM_NOTIFICATION" />
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700238 <action android:name="com.android.server.telecom.PROCEED_WITH_CALL" />
239 <action android:name="com.android.server.telecom.CANCEL_CALL" />
sqiane976e682018-10-05 18:51:40 -0700240 <action android:name="com.android.server.telecom.PROCEED_WITH_REDIRECTED_CALL" />
241 <action android:name="com.android.server.telecom.CANCEL_REDIRECTED_CALL" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700242 </intent-filter>
243 </receiver>
244
tonyzhu8ba94c52018-10-23 15:37:04 +0800245 <receiver android:name=".components.AppUninstallBroadcastReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800246 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700247 <intent-filter>
248 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
249 <data android:scheme="package" />
250 </intent-filter>
251 </receiver>
Tyler Gunnd900ce62014-08-13 11:40:59 -0700252
Andrew Leeaf22dd12015-02-25 17:40:11 -0800253 <activity android:name=".RespondViaSmsSettings"
Ihab Awadff7493a2014-06-10 13:47:44 -0700254 android:label="@string/respond_via_sms_setting_title"
Andrew Leefd053f42014-11-12 18:09:58 -0800255 android:configChanges="orientation|screenSize|keyboardHidden"
Santos Cordone6a33f22014-12-02 13:19:00 -0800256 android:theme="@style/Theme.Telecom.DialerSettings"
257 android:process=":ui">
Ihab Awadff7493a2014-06-10 13:47:44 -0700258 <intent-filter>
259 <action android:name="android.intent.action.MAIN" />
Andrew Lee9631da42015-02-18 17:58:58 -0800260 <action android:name="android.telecom.action.SHOW_RESPOND_VIA_SMS_SETTINGS" />
261 <category android:name="android.intent.category.DEFAULT" />
Ihab Awadff7493a2014-06-10 13:47:44 -0700262 </intent-filter>
263 </activity>
Ihab Awad104f8062014-07-17 11:29:35 -0700264
Santos Cordon55344342015-05-04 13:05:30 -0700265 <activity android:name=".settings.EnableAccountPreferenceActivity"
266 android:label="@string/enable_account_preference_title"
267 android:configChanges="orientation|screenSize|keyboardHidden"
268 android:theme="@style/Theme.Telecom.DialerSettings"
269 android:process=":ui">
270 <intent-filter>
271 <action android:name="android.intent.action.MAIN" />
272 <category android:name="android.intent.category.DEFAULT" />
273 </intent-filter>
274 </activity>
275
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800276 <activity android:name=".components.ErrorDialogActivity"
Yorke Leed7255872014-08-25 15:03:51 -0700277 android:configChanges="orientation|screenSize|keyboardHidden"
278 android:excludeFromRecents="true"
279 android:launchMode="singleInstance"
Santos Cordone6a33f22014-12-02 13:19:00 -0800280 android:theme="@style/Theme.Telecomm.Transparent"
281 android:process=":ui">
Yorke Leed7255872014-08-25 15:03:51 -0700282 </activity>
283
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700284 <activity android:name=".ui.ConfirmCallDialogActivity"
285 android:configChanges="orientation|screenSize|keyboardHidden"
286 android:excludeFromRecents="true"
287 android:launchMode="singleInstance"
288 android:theme="@style/Theme.Telecomm.Transparent"
289 android:process=":ui">
290 </activity>
291
sqiane976e682018-10-05 18:51:40 -0700292 <activity android:name=".ui.CallRedirectionConfirmDialogActivity"
293 android:configChanges="orientation|screenSize|keyboardHidden"
294 android:excludeFromRecents="true"
295 android:launchMode="singleInstance"
296 android:theme="@style/Theme.Telecomm.Transparent"
297 android:process=":ui">
298 </activity>
299
300 <activity android:name=".ui.CallRedirectionTimeoutDialogActivity"
301 android:configChanges="orientation|screenSize|keyboardHidden"
302 android:excludeFromRecents="true"
303 android:launchMode="singleInstance"
304 android:theme="@style/Theme.Telecomm.Transparent"
305 android:process=":ui">
306 </activity>
307
Yorke Leeb5c5d442015-04-27 15:21:53 -0700308 <activity android:name=".components.ChangeDefaultDialerDialog"
309 android:label="@string/change_default_dialer_dialog_title"
310 android:excludeFromRecents="true"
311 android:theme="@*android:style/Theme.Material.Light.Dialog.Alert"
312 android:priority="1000"
313 android:process=":ui" >
314 <intent-filter>
315 <action android:name="android.telecom.action.CHANGE_DEFAULT_DIALER" />
316 <category android:name="android.intent.category.DEFAULT" />
317 </intent-filter>
318 </activity>
tonyzhu919ffa92018-10-01 16:28:52 +0800319
Tyler Gunn47eb3fe2018-03-12 14:38:47 -0700320 <activity android:name=".ui.TelecomDeveloperMenu"
Tyler Gunne0e1b572018-12-04 14:09:21 -0800321 android:label="@string/developer_title"
322 android:exported="false"
323 android:process=":ui" />
Yorke Leeb5c5d442015-04-27 15:21:53 -0700324
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800325 <service android:name=".components.BluetoothPhoneService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800326 android:singleUser="true"
327 android:process="system">
Santos Cordonfddf12e2014-09-25 15:08:57 -0700328 <intent-filter>
329 <action android:name="android.bluetooth.IBluetoothHeadsetPhone" />
330 </intent-filter>
331 </service>
332
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800333 <service android:name=".components.TelecomService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800334 android:singleUser="true"
335 android:process="system">
Santos Cordonf987d1a2014-12-02 03:37:03 -0800336 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700337 <action android:name="android.telecom.ITelecomService" />
Santos Cordonf987d1a2014-12-02 03:37:03 -0800338 </intent-filter>
339 </service>
340
Ben Gilad4937ff92013-12-12 12:05:37 -0800341 </application>
342</manifest>