blob: 4f1cb8bf2373e4ac042ee1f2900e3fdb2302e27b [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" />
Santos Cordonea5cb932015-05-07 16:28:38 -070039 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070040 <uses-permission android:name="android.permission.READ_CALL_LOG" />
41 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
Evan Charlton198fde82014-04-07 10:53:11 -070042 <uses-permission android:name="android.permission.VIBRATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070043 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Hall Liu9a7302f2017-05-31 14:47:08 -070044 <uses-permission android:name="android.permission.WAKE_LOCK" />
Abhijith Shastryfe7ecfe2016-02-08 22:19:58 -080045 <uses-permission android:name="android.permission.READ_BLOCKED_NUMBERS" />
46 <uses-permission android:name="android.permission.WRITE_BLOCKED_NUMBERS" />
Tyler Gunn2b17f232017-03-08 08:51:00 -080047 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
Tyler Gunnd1607682014-08-15 11:29:12 -070048
Santos Cordon0ceb5a12014-10-23 09:30:19 -070049 <permission
Yong Jiang271b9ae2014-10-09 12:08:54 -050050 android:name="android.permission.BROADCAST_CALLLOG_INFO"
51 android:label="Broadcast the call type/duration information"
52 android:protectionLevel="signature|system"/>
53
54 <permission
55 android:name="android.permission.PROCESS_CALLLOG_INFO"
56 android:label="Register to handle the broadcasted call type/duration information"
57 android:protectionLevel="signature|system"/>
58
Santos Cordon4c778492015-02-27 15:13:35 -080059 <permission
60 android:name="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION"
61 android:label="Broadcast phone account registration"
62 android:protectionLevel="signature|system"/>
63
64 <permission
65 android:name="android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION"
66 android:label="Process phone account registration"
67 android:protectionLevel="signature|system"/>
68
Santos Cordon581ec4a2014-12-15 09:59:26 -080069 <application android:label="@string/telecommAppLabel"
Ben Gilad4937ff92013-12-12 12:05:37 -080070 android:icon="@mipmap/ic_launcher_phone"
Jay Shraunerd5a71da2014-07-30 09:33:59 -070071 android:allowBackup="false"
Santos Cordon581ec4a2014-12-15 09:59:26 -080072 android:supportsRtl="true"
Alex Klyubinebe2fb32015-05-20 11:30:05 -070073 android:process="system"
Jeff Sharkeybbebba32015-11-18 15:36:11 -070074 android:usesCleartextTraffic="false"
Jeff Sharkeya0a76f92016-03-17 11:00:41 -060075 android:defaultToDeviceProtectedStorage="true"
76 android:directBootAware="true">
Santos Cordon10e68322013-12-12 16:06:56 -080077
78 <!-- CALL vs CALL_PRIVILEGED vs CALL_EMERGENCY
79 We have three different intents through which a call can be initiated each with its
80 own behavior.
81 1) CALL - Expected from any third party app with CALL_PHONE permission. Through this
82 intent, an app can call any number except emergency numbers.
83 2) CALL_PRIVILEGED - Expected from the dialer app and requires CALL_PRIVILEGED
84 permission, which is only held by the system dialer and the emergency dialer at the
85 time of this writing. Through this intent, an app can call any number including
86 emergency numbers.
87 3) CALL_EMERGENCY - Expected from the emergency dialer app and requires CALL_PRIVILEGED
88 permission. Through this intent, an app can call *only* emergency numbers. -->
89
Mohamedc9261852016-02-05 14:10:17 -080090 <!-- Activity that displays UI for managing blocked numbers. -->
91 <activity android:name=".settings.BlockedNumbersActivity"
92 android:label="@string/blocked_numbers"
93 android:configChanges="orientation|screenSize|keyboardHidden"
94 android:theme="@style/Theme.Telecom.BlockedNumbers"
95 android:process=":ui"
Abhijith Shastryb1308ec2016-02-29 16:26:09 -080096 android:exported="true">
97 <intent-filter>
98 <action android:name="android.telecom.action.MANAGE_BLOCKED_NUMBERS" />
99 <category android:name="android.intent.category.DEFAULT" />
100 </intent-filter>
101 </activity>
Santos Cordon10e68322013-12-12 16:06:56 -0800102 <!-- Activity that starts the outgoing call process by listening to CALL intent which
103 contain contact information in the intent's data. CallActivity handles any data
104 URL with the schemes "tel", "sip", and "voicemail". It also handles URLs linked to
105 contacts provider entries. Any data not fitting the schema described is ignored. -->
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800106 <activity android:name=".components.UserCallActivity"
Jay Shrauner4d0b4192015-08-11 10:46:08 -0700107 android:label="@string/userCallActivityLabel"
Yorke Leed7255872014-08-25 15:03:51 -0700108 android:theme="@style/Theme.Telecomm.Transparent"
Santos Cordon10e68322013-12-12 16:06:56 -0800109 android:permission="android.permission.CALL_PHONE"
Santos Cordone6a33f22014-12-02 13:19:00 -0800110 android:excludeFromRecents="true"
111 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800112 <!-- CALL action intent filters for the various ways of initiating an outgoing call. -->
113 <intent-filter>
114 <action android:name="android.intent.action.CALL" />
115 <category android:name="android.intent.category.DEFAULT" />
116 <data android:scheme="tel" />
117 </intent-filter>
118 <!-- Specify an icon for SIP calls so that quick contacts widget shows a special SIP
119 icon for calls to SIP addresses. -->
120 <intent-filter android:icon="@drawable/ic_launcher_sip_call">
121 <action android:name="android.intent.action.CALL" />
122 <category android:name="android.intent.category.DEFAULT" />
123 <data android:scheme="sip" />
124 </intent-filter>
125 <intent-filter>
126 <action android:name="android.intent.action.CALL" />
127 <category android:name="android.intent.category.DEFAULT" />
128 <data android:scheme="voicemail" />
129 </intent-filter>
130 <!-- Omit default category below so that all Intents sent to this filter must be
131 explicit. -->
132 <intent-filter>
133 <action android:name="android.intent.action.CALL" />
134 <data android:mimeType="vnd.android.cursor.item/phone" />
135 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
136 <data android:mimeType="vnd.android.cursor.item/person" />
137 </intent-filter>
138 </activity>
139
140 <!-- Works like CallActivity with CALL_PRIVILEGED instead of CALL intent.
141 CALL_PRIVILEGED allows calls to emergency numbers unlike CALL which disallows it.
142 Intent-sender must have the CALL_PRIVILEGED permission or the broadcast will not be
143 processed. High priority of 1000 is used in all intent filters to prevent anything but
144 the system from processing this intent (b/8871505). -->
145 <activity-alias android:name="PrivilegedCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800146 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800147 android:permission="android.permission.CALL_PRIVILEGED"
148 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800149 <intent-filter android:priority="1000">
150 <action android:name="android.intent.action.CALL_PRIVILEGED" />
151 <category android:name="android.intent.category.DEFAULT" />
152 <data android:scheme="tel" />
153 </intent-filter>
154 <intent-filter android:priority="1000"
155 android:icon="@drawable/ic_launcher_sip_call">
156 <action android:name="android.intent.action.CALL_PRIVILEGED" />
157 <category android:name="android.intent.category.DEFAULT" />
158 <data android:scheme="sip" />
159 </intent-filter>
160 <intent-filter android:priority="1000">
161 <action android:name="android.intent.action.CALL_PRIVILEGED" />
162 <category android:name="android.intent.category.DEFAULT" />
163 <data android:scheme="voicemail" />
164 </intent-filter>
165 <intent-filter android:priority="1000">
166 <action android:name="android.intent.action.CALL_PRIVILEGED" />
167 <data android:mimeType="vnd.android.cursor.item/phone" />
168 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
169 <data android:mimeType="vnd.android.cursor.item/person" />
170 </intent-filter>
171 </activity-alias>
172
173 <!-- Works like CallActivity with CALL_EMERGENCY instead of CALL intent.
174 CALL_EMERGENCY allows calls *only* to emergency numbers. Intent-sender must have the
175 CALL_PRIVILEGED permission or the broadcast will not be processed. High priority of
176 1000 is used in all intent filters to prevent anything but the system from processing
177 this intent (b/8871505). -->
Santos Cordondf399862014-08-06 04:39:15 -0700178 <!-- TODO: Is there really a notion of an emergency SIP number? If not, can
Santos Cordon10e68322013-12-12 16:06:56 -0800179 that scheme be removed from this activity? -->
180 <activity-alias android:name="EmergencyCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800181 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800182 android:permission="android.permission.CALL_PRIVILEGED"
183 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800184 <intent-filter android:priority="1000">
185 <action android:name="android.intent.action.CALL_EMERGENCY" />
186 <category android:name="android.intent.category.DEFAULT" />
187 <data android:scheme="tel" />
188 </intent-filter>
189 <intent-filter android:priority="1000"
190 android:icon="@drawable/ic_launcher_sip_call">
191 <action android:name="android.intent.action.CALL_EMERGENCY" />
192 <category android:name="android.intent.category.DEFAULT" />
193 <data android:scheme="sip" />
194 </intent-filter>
195 <intent-filter android:priority="1000">
196 <action android:name="android.intent.action.CALL_EMERGENCY" />
197 <category android:name="android.intent.category.DEFAULT" />
198 <data android:scheme="voicemail" />
199 </intent-filter>
200 <intent-filter android:priority="1000">
201 <action android:name="android.intent.action.CALL_EMERGENCY" />
202 <data android:mimeType="vnd.android.cursor.item/phone" />
203 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
204 <data android:mimeType="vnd.android.cursor.item/person" />
205 </intent-filter>
206 </activity-alias>
207
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800208 <receiver android:name=".components.TelecomBroadcastReceiver" android:exported="false"
Santos Cordone6a33f22014-12-02 13:19:00 -0800209 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700210 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700211 <action android:name="com.android.server.telecom.ACTION_CLEAR_MISSED_CALLS" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700212 <action android:name="com.android.server.telecom.ACTION_CALL_BACK_FROM_NOTIFICATION" />
213 <action android:name="com.android.server.telecom.ACTION_SEND_SMS_FROM_NOTIFICATION" />
Tyler Gunn2b17f232017-03-08 08:51:00 -0800214 <action android:name="com.android.server.telecom.ACTION_ANSWER_FROM_NOTIFICATION" />
215 <action android:name="com.android.server.telecom.ACTION_REJECT_FROM_NOTIFICATION" />
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700216 <action android:name="com.android.server.telecom.PROCEED_WITH_CALL" />
217 <action android:name="com.android.server.telecom.CANCEL_CALL" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700218 </intent-filter>
219 </receiver>
220
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800221 <receiver android:name=".components.PhoneAccountBroadcastReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800222 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700223 <intent-filter>
224 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
225 <data android:scheme="package" />
226 </intent-filter>
227 </receiver>
Tyler Gunnd900ce62014-08-13 11:40:59 -0700228
Andrew Leeaf22dd12015-02-25 17:40:11 -0800229 <activity android:name=".RespondViaSmsSettings"
Ihab Awadff7493a2014-06-10 13:47:44 -0700230 android:label="@string/respond_via_sms_setting_title"
Andrew Leefd053f42014-11-12 18:09:58 -0800231 android:configChanges="orientation|screenSize|keyboardHidden"
Santos Cordone6a33f22014-12-02 13:19:00 -0800232 android:theme="@style/Theme.Telecom.DialerSettings"
233 android:process=":ui">
Ihab Awadff7493a2014-06-10 13:47:44 -0700234 <intent-filter>
235 <action android:name="android.intent.action.MAIN" />
Andrew Lee9631da42015-02-18 17:58:58 -0800236 <action android:name="android.telecom.action.SHOW_RESPOND_VIA_SMS_SETTINGS" />
237 <category android:name="android.intent.category.DEFAULT" />
Ihab Awadff7493a2014-06-10 13:47:44 -0700238 </intent-filter>
239 </activity>
Ihab Awad104f8062014-07-17 11:29:35 -0700240
Santos Cordon55344342015-05-04 13:05:30 -0700241 <activity android:name=".settings.EnableAccountPreferenceActivity"
242 android:label="@string/enable_account_preference_title"
243 android:configChanges="orientation|screenSize|keyboardHidden"
244 android:theme="@style/Theme.Telecom.DialerSettings"
245 android:process=":ui">
246 <intent-filter>
247 <action android:name="android.intent.action.MAIN" />
248 <category android:name="android.intent.category.DEFAULT" />
249 </intent-filter>
250 </activity>
251
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800252 <activity android:name=".components.ErrorDialogActivity"
Yorke Leed7255872014-08-25 15:03:51 -0700253 android:configChanges="orientation|screenSize|keyboardHidden"
254 android:excludeFromRecents="true"
255 android:launchMode="singleInstance"
Santos Cordone6a33f22014-12-02 13:19:00 -0800256 android:theme="@style/Theme.Telecomm.Transparent"
257 android:process=":ui">
Yorke Leed7255872014-08-25 15:03:51 -0700258 </activity>
259
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700260 <activity android:name=".ui.ConfirmCallDialogActivity"
261 android:configChanges="orientation|screenSize|keyboardHidden"
262 android:excludeFromRecents="true"
263 android:launchMode="singleInstance"
264 android:theme="@style/Theme.Telecomm.Transparent"
265 android:process=":ui">
266 </activity>
267
Yorke Leeb5c5d442015-04-27 15:21:53 -0700268 <activity android:name=".components.ChangeDefaultDialerDialog"
269 android:label="@string/change_default_dialer_dialog_title"
270 android:excludeFromRecents="true"
271 android:theme="@*android:style/Theme.Material.Light.Dialog.Alert"
272 android:priority="1000"
273 android:process=":ui" >
274 <intent-filter>
275 <action android:name="android.telecom.action.CHANGE_DEFAULT_DIALER" />
276 <category android:name="android.intent.category.DEFAULT" />
277 </intent-filter>
278 </activity>
279
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800280 <receiver android:name=".components.PrimaryCallReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800281 android:exported="true"
282 android:permission="android.permission.MODIFY_PHONE_STATE"
283 android:process="system">
Yorke Lee6dc1c752014-09-23 18:50:35 -0700284 </receiver>
285
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800286 <service android:name=".components.BluetoothPhoneService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800287 android:singleUser="true"
288 android:process="system">
Santos Cordonfddf12e2014-09-25 15:08:57 -0700289 <intent-filter>
290 <action android:name="android.bluetooth.IBluetoothHeadsetPhone" />
291 </intent-filter>
292 </service>
293
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800294 <service android:name=".components.TelecomService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800295 android:singleUser="true"
296 android:process="system">
Santos Cordonf987d1a2014-12-02 03:37:03 -0800297 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700298 <action android:name="android.telecom.ITelecomService" />
Santos Cordonf987d1a2014-12-02 03:37:03 -0800299 </intent-filter>
300 </service>
301
Ben Gilad4937ff92013-12-12 12:05:37 -0800302 </application>
303</manifest>