blob: 588e5c38ebf577ed2ac7fcff9baf0c2ee0e219c8 [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" />
Tyler Gunnd1607682014-08-15 11:29:12 -070051
Santos Cordon0ceb5a12014-10-23 09:30:19 -070052 <permission
Yong Jiang271b9ae2014-10-09 12:08:54 -050053 android:name="android.permission.BROADCAST_CALLLOG_INFO"
54 android:label="Broadcast the call type/duration information"
55 android:protectionLevel="signature|system"/>
56
57 <permission
58 android:name="android.permission.PROCESS_CALLLOG_INFO"
59 android:label="Register to handle the broadcasted call type/duration information"
60 android:protectionLevel="signature|system"/>
61
Santos Cordon4c778492015-02-27 15:13:35 -080062 <permission
63 android:name="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION"
64 android:label="Broadcast phone account registration"
65 android:protectionLevel="signature|system"/>
66
67 <permission
68 android:name="android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION"
69 android:label="Process phone account registration"
70 android:protectionLevel="signature|system"/>
71
Santos Cordon581ec4a2014-12-15 09:59:26 -080072 <application android:label="@string/telecommAppLabel"
Ben Gilad4937ff92013-12-12 12:05:37 -080073 android:icon="@mipmap/ic_launcher_phone"
Jay Shraunerd5a71da2014-07-30 09:33:59 -070074 android:allowBackup="false"
Santos Cordon581ec4a2014-12-15 09:59:26 -080075 android:supportsRtl="true"
Alex Klyubinebe2fb32015-05-20 11:30:05 -070076 android:process="system"
Jeff Sharkeybbebba32015-11-18 15:36:11 -070077 android:usesCleartextTraffic="false"
Jeff Sharkeya0a76f92016-03-17 11:00:41 -060078 android:defaultToDeviceProtectedStorage="true"
79 android:directBootAware="true">
Santos Cordon10e68322013-12-12 16:06:56 -080080
81 <!-- CALL vs CALL_PRIVILEGED vs CALL_EMERGENCY
82 We have three different intents through which a call can be initiated each with its
83 own behavior.
84 1) CALL - Expected from any third party app with CALL_PHONE permission. Through this
85 intent, an app can call any number except emergency numbers.
86 2) CALL_PRIVILEGED - Expected from the dialer app and requires CALL_PRIVILEGED
87 permission, which is only held by the system dialer and the emergency dialer at the
88 time of this writing. Through this intent, an app can call any number including
89 emergency numbers.
90 3) CALL_EMERGENCY - Expected from the emergency dialer app and requires CALL_PRIVILEGED
91 permission. Through this intent, an app can call *only* emergency numbers. -->
92
Mohamedc9261852016-02-05 14:10:17 -080093 <!-- Activity that displays UI for managing blocked numbers. -->
94 <activity android:name=".settings.BlockedNumbersActivity"
95 android:label="@string/blocked_numbers"
96 android:configChanges="orientation|screenSize|keyboardHidden"
97 android:theme="@style/Theme.Telecom.BlockedNumbers"
98 android:process=":ui"
Abhijith Shastryb1308ec2016-02-29 16:26:09 -080099 android:exported="true">
100 <intent-filter>
101 <action android:name="android.telecom.action.MANAGE_BLOCKED_NUMBERS" />
102 <category android:name="android.intent.category.DEFAULT" />
103 </intent-filter>
104 </activity>
Tyler Gunnaee51f22018-03-09 02:33:54 +0000105
106 <activity android:name=".settings.CallBlockDisabledActivity"
107 android:configChanges="keyboardHidden|orientation|screenSize"
108 android:excludeFromRecents="true"
109 android:launchMode="singleInstance"
110 android:theme="@style/Theme.Telecomm.Transparent"
111 android:process=":ui">
112 </activity>
113
Santos Cordon10e68322013-12-12 16:06:56 -0800114 <!-- Activity that starts the outgoing call process by listening to CALL intent which
115 contain contact information in the intent's data. CallActivity handles any data
116 URL with the schemes "tel", "sip", and "voicemail". It also handles URLs linked to
117 contacts provider entries. Any data not fitting the schema described is ignored. -->
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800118 <activity android:name=".components.UserCallActivity"
Jay Shrauner4d0b4192015-08-11 10:46:08 -0700119 android:label="@string/userCallActivityLabel"
Yorke Leed7255872014-08-25 15:03:51 -0700120 android:theme="@style/Theme.Telecomm.Transparent"
Santos Cordon10e68322013-12-12 16:06:56 -0800121 android:permission="android.permission.CALL_PHONE"
Santos Cordone6a33f22014-12-02 13:19:00 -0800122 android:excludeFromRecents="true"
123 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800124 <!-- CALL action intent filters for the various ways of initiating an outgoing call. -->
125 <intent-filter>
126 <action android:name="android.intent.action.CALL" />
127 <category android:name="android.intent.category.DEFAULT" />
128 <data android:scheme="tel" />
129 </intent-filter>
130 <!-- Specify an icon for SIP calls so that quick contacts widget shows a special SIP
131 icon for calls to SIP addresses. -->
132 <intent-filter android:icon="@drawable/ic_launcher_sip_call">
133 <action android:name="android.intent.action.CALL" />
134 <category android:name="android.intent.category.DEFAULT" />
135 <data android:scheme="sip" />
136 </intent-filter>
137 <intent-filter>
138 <action android:name="android.intent.action.CALL" />
139 <category android:name="android.intent.category.DEFAULT" />
140 <data android:scheme="voicemail" />
141 </intent-filter>
142 <!-- Omit default category below so that all Intents sent to this filter must be
143 explicit. -->
144 <intent-filter>
145 <action android:name="android.intent.action.CALL" />
146 <data android:mimeType="vnd.android.cursor.item/phone" />
147 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
148 <data android:mimeType="vnd.android.cursor.item/person" />
149 </intent-filter>
150 </activity>
151
152 <!-- Works like CallActivity with CALL_PRIVILEGED instead of CALL intent.
153 CALL_PRIVILEGED allows calls to emergency numbers unlike CALL which disallows it.
154 Intent-sender must have the CALL_PRIVILEGED permission or the broadcast will not be
155 processed. High priority of 1000 is used in all intent filters to prevent anything but
156 the system from processing this intent (b/8871505). -->
157 <activity-alias android:name="PrivilegedCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800158 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800159 android:permission="android.permission.CALL_PRIVILEGED"
160 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800161 <intent-filter android:priority="1000">
162 <action android:name="android.intent.action.CALL_PRIVILEGED" />
163 <category android:name="android.intent.category.DEFAULT" />
164 <data android:scheme="tel" />
165 </intent-filter>
166 <intent-filter android:priority="1000"
167 android:icon="@drawable/ic_launcher_sip_call">
168 <action android:name="android.intent.action.CALL_PRIVILEGED" />
169 <category android:name="android.intent.category.DEFAULT" />
170 <data android:scheme="sip" />
171 </intent-filter>
172 <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="voicemail" />
176 </intent-filter>
177 <intent-filter android:priority="1000">
178 <action android:name="android.intent.action.CALL_PRIVILEGED" />
179 <data android:mimeType="vnd.android.cursor.item/phone" />
180 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
181 <data android:mimeType="vnd.android.cursor.item/person" />
182 </intent-filter>
183 </activity-alias>
184
185 <!-- Works like CallActivity with CALL_EMERGENCY instead of CALL intent.
186 CALL_EMERGENCY allows calls *only* to emergency numbers. Intent-sender must have the
187 CALL_PRIVILEGED permission or the broadcast will not be processed. High priority of
188 1000 is used in all intent filters to prevent anything but the system from processing
189 this intent (b/8871505). -->
Santos Cordondf399862014-08-06 04:39:15 -0700190 <!-- TODO: Is there really a notion of an emergency SIP number? If not, can
Santos Cordon10e68322013-12-12 16:06:56 -0800191 that scheme be removed from this activity? -->
192 <activity-alias android:name="EmergencyCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800193 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800194 android:permission="android.permission.CALL_PRIVILEGED"
195 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800196 <intent-filter android:priority="1000">
197 <action android:name="android.intent.action.CALL_EMERGENCY" />
198 <category android:name="android.intent.category.DEFAULT" />
199 <data android:scheme="tel" />
200 </intent-filter>
201 <intent-filter android:priority="1000"
202 android:icon="@drawable/ic_launcher_sip_call">
203 <action android:name="android.intent.action.CALL_EMERGENCY" />
204 <category android:name="android.intent.category.DEFAULT" />
205 <data android:scheme="sip" />
206 </intent-filter>
207 <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="voicemail" />
211 </intent-filter>
212 <intent-filter android:priority="1000">
213 <action android:name="android.intent.action.CALL_EMERGENCY" />
214 <data android:mimeType="vnd.android.cursor.item/phone" />
215 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
216 <data android:mimeType="vnd.android.cursor.item/person" />
217 </intent-filter>
218 </activity-alias>
219
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800220 <receiver android:name=".components.TelecomBroadcastReceiver" android:exported="false"
Santos Cordone6a33f22014-12-02 13:19:00 -0800221 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700222 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700223 <action android:name="com.android.server.telecom.ACTION_CLEAR_MISSED_CALLS" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700224 <action android:name="com.android.server.telecom.ACTION_CALL_BACK_FROM_NOTIFICATION" />
225 <action android:name="com.android.server.telecom.ACTION_SEND_SMS_FROM_NOTIFICATION" />
Tyler Gunn2b17f232017-03-08 08:51:00 -0800226 <action android:name="com.android.server.telecom.ACTION_ANSWER_FROM_NOTIFICATION" />
227 <action android:name="com.android.server.telecom.ACTION_REJECT_FROM_NOTIFICATION" />
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700228 <action android:name="com.android.server.telecom.PROCEED_WITH_CALL" />
229 <action android:name="com.android.server.telecom.CANCEL_CALL" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700230 </intent-filter>
231 </receiver>
232
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800233 <receiver android:name=".components.PhoneAccountBroadcastReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800234 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700235 <intent-filter>
236 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
237 <data android:scheme="package" />
238 </intent-filter>
239 </receiver>
Tyler Gunnd900ce62014-08-13 11:40:59 -0700240
Andrew Leeaf22dd12015-02-25 17:40:11 -0800241 <activity android:name=".RespondViaSmsSettings"
Ihab Awadff7493a2014-06-10 13:47:44 -0700242 android:label="@string/respond_via_sms_setting_title"
Andrew Leefd053f42014-11-12 18:09:58 -0800243 android:configChanges="orientation|screenSize|keyboardHidden"
Santos Cordone6a33f22014-12-02 13:19:00 -0800244 android:theme="@style/Theme.Telecom.DialerSettings"
245 android:process=":ui">
Ihab Awadff7493a2014-06-10 13:47:44 -0700246 <intent-filter>
247 <action android:name="android.intent.action.MAIN" />
Andrew Lee9631da42015-02-18 17:58:58 -0800248 <action android:name="android.telecom.action.SHOW_RESPOND_VIA_SMS_SETTINGS" />
249 <category android:name="android.intent.category.DEFAULT" />
Ihab Awadff7493a2014-06-10 13:47:44 -0700250 </intent-filter>
251 </activity>
Ihab Awad104f8062014-07-17 11:29:35 -0700252
Santos Cordon55344342015-05-04 13:05:30 -0700253 <activity android:name=".settings.EnableAccountPreferenceActivity"
254 android:label="@string/enable_account_preference_title"
255 android:configChanges="orientation|screenSize|keyboardHidden"
256 android:theme="@style/Theme.Telecom.DialerSettings"
257 android:process=":ui">
258 <intent-filter>
259 <action android:name="android.intent.action.MAIN" />
260 <category android:name="android.intent.category.DEFAULT" />
261 </intent-filter>
262 </activity>
263
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800264 <activity android:name=".components.ErrorDialogActivity"
Yorke Leed7255872014-08-25 15:03:51 -0700265 android:configChanges="orientation|screenSize|keyboardHidden"
266 android:excludeFromRecents="true"
267 android:launchMode="singleInstance"
Santos Cordone6a33f22014-12-02 13:19:00 -0800268 android:theme="@style/Theme.Telecomm.Transparent"
269 android:process=":ui">
Yorke Leed7255872014-08-25 15:03:51 -0700270 </activity>
271
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700272 <activity android:name=".ui.ConfirmCallDialogActivity"
273 android:configChanges="orientation|screenSize|keyboardHidden"
274 android:excludeFromRecents="true"
275 android:launchMode="singleInstance"
276 android:theme="@style/Theme.Telecomm.Transparent"
277 android:process=":ui">
278 </activity>
279
Yorke Leeb5c5d442015-04-27 15:21:53 -0700280 <activity android:name=".components.ChangeDefaultDialerDialog"
281 android:label="@string/change_default_dialer_dialog_title"
282 android:excludeFromRecents="true"
283 android:theme="@*android:style/Theme.Material.Light.Dialog.Alert"
284 android:priority="1000"
285 android:process=":ui" >
286 <intent-filter>
287 <action android:name="android.telecom.action.CHANGE_DEFAULT_DIALER" />
288 <category android:name="android.intent.category.DEFAULT" />
289 </intent-filter>
290 </activity>
291
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800292 <receiver android:name=".components.PrimaryCallReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800293 android:exported="true"
294 android:permission="android.permission.MODIFY_PHONE_STATE"
295 android:process="system">
Yorke Lee6dc1c752014-09-23 18:50:35 -0700296 </receiver>
297
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800298 <service android:name=".components.BluetoothPhoneService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800299 android:singleUser="true"
300 android:process="system">
Santos Cordonfddf12e2014-09-25 15:08:57 -0700301 <intent-filter>
302 <action android:name="android.bluetooth.IBluetoothHeadsetPhone" />
303 </intent-filter>
304 </service>
305
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800306 <service android:name=".components.TelecomService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800307 android:singleUser="true"
308 android:process="system">
Santos Cordonf987d1a2014-12-02 03:37:03 -0800309 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700310 <action android:name="android.telecom.ITelecomService" />
Santos Cordonf987d1a2014-12-02 03:37:03 -0800311 </intent-filter>
312 </service>
313
Ben Gilad4937ff92013-12-12 12:05:37 -0800314 </application>
315</manifest>