blob: 7c57599aa2cca15016ae65322a46fb5c411b762d [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" />
Tyler Gunn4bb44bf2019-10-15 08:32:32 -070038 <uses-permission android:name="android.permission.HANDLE_CAR_MODE_CHANGES" />
Santos Cordone6a33f22014-12-02 13:19:00 -080039 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070040 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Santos Cordonea5cb932015-05-07 16:28:38 -070041 <uses-permission android:name="android.permission.MANAGE_USERS" />
Tyler Gunn6decc5b2019-04-25 14:24:28 -070042 <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" />
Evan Charlton198fde82014-04-07 10:53:11 -070043 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Tyler Gunn5d66e1d2018-01-25 20:22:49 -080044 <!-- Required to determine source of ongoing audio recordings. -->
45 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
Santos Cordonea5cb932015-05-07 16:28:38 -070046 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070047 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Stanislav Zholnin7e91d892019-01-28 16:10:51 +000048 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
Tyler Gunne71608c2018-03-05 13:42:33 -080049 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Youming Ye55071a82019-04-29 17:04:13 -070050 <uses-permission android:name="android.permission.SEND_SMS" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070051 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
Evan Charlton198fde82014-04-07 10:53:11 -070052 <uses-permission android:name="android.permission.VIBRATE" />
Santos Cordonc7e85d42014-05-22 02:51:48 -070053 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Hall Liu9a7302f2017-05-31 14:47:08 -070054 <uses-permission android:name="android.permission.WAKE_LOCK" />
Abhijith Shastryfe7ecfe2016-02-08 22:19:58 -080055 <uses-permission android:name="android.permission.READ_BLOCKED_NUMBERS" />
56 <uses-permission android:name="android.permission.WRITE_BLOCKED_NUMBERS" />
Tyler Gunn2b17f232017-03-08 08:51:00 -080057 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
Tyler Gunnd1607682014-08-15 11:29:12 -070058
Santos Cordon0ceb5a12014-10-23 09:30:19 -070059 <permission
Yong Jiang271b9ae2014-10-09 12:08:54 -050060 android:name="android.permission.BROADCAST_CALLLOG_INFO"
61 android:label="Broadcast the call type/duration information"
62 android:protectionLevel="signature|system"/>
63
64 <permission
65 android:name="android.permission.PROCESS_CALLLOG_INFO"
66 android:label="Register to handle the broadcasted call type/duration information"
67 android:protectionLevel="signature|system"/>
68
Santos Cordon4c778492015-02-27 15:13:35 -080069 <permission
70 android:name="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION"
71 android:label="Broadcast phone account registration"
72 android:protectionLevel="signature|system"/>
73
74 <permission
75 android:name="android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION"
76 android:label="Process phone account registration"
77 android:protectionLevel="signature|system"/>
78
Tyler Gunnefe26992018-10-26 09:24:13 -070079 <permission
80 android:name="android.permission.HANDLE_CALL_INTENT"
81 android:label="Protects handling the call intent via the TelecomManager API."
82 android:protectionLevel="signature|system"/>
83
Santos Cordon581ec4a2014-12-15 09:59:26 -080084 <application android:label="@string/telecommAppLabel"
Ben Gilad4937ff92013-12-12 12:05:37 -080085 android:icon="@mipmap/ic_launcher_phone"
Jay Shraunerd5a71da2014-07-30 09:33:59 -070086 android:allowBackup="false"
Santos Cordon581ec4a2014-12-15 09:59:26 -080087 android:supportsRtl="true"
Alex Klyubinebe2fb32015-05-20 11:30:05 -070088 android:process="system"
Jeff Sharkeybbebba32015-11-18 15:36:11 -070089 android:usesCleartextTraffic="false"
Jeff Sharkeya0a76f92016-03-17 11:00:41 -060090 android:defaultToDeviceProtectedStorage="true"
91 android:directBootAware="true">
Santos Cordon10e68322013-12-12 16:06:56 -080092
93 <!-- CALL vs CALL_PRIVILEGED vs CALL_EMERGENCY
94 We have three different intents through which a call can be initiated each with its
95 own behavior.
96 1) CALL - Expected from any third party app with CALL_PHONE permission. Through this
97 intent, an app can call any number except emergency numbers.
98 2) CALL_PRIVILEGED - Expected from the dialer app and requires CALL_PRIVILEGED
99 permission, which is only held by the system dialer and the emergency dialer at the
100 time of this writing. Through this intent, an app can call any number including
101 emergency numbers.
102 3) CALL_EMERGENCY - Expected from the emergency dialer app and requires CALL_PRIVILEGED
103 permission. Through this intent, an app can call *only* emergency numbers. -->
104
Mohamedc9261852016-02-05 14:10:17 -0800105 <!-- Activity that displays UI for managing blocked numbers. -->
106 <activity android:name=".settings.BlockedNumbersActivity"
107 android:label="@string/blocked_numbers"
108 android:configChanges="orientation|screenSize|keyboardHidden"
109 android:theme="@style/Theme.Telecom.BlockedNumbers"
110 android:process=":ui"
Abhijith Shastryb1308ec2016-02-29 16:26:09 -0800111 android:exported="true">
112 <intent-filter>
113 <action android:name="android.telecom.action.MANAGE_BLOCKED_NUMBERS" />
114 <category android:name="android.intent.category.DEFAULT" />
115 </intent-filter>
116 </activity>
Ruijie Bai20e49952017-12-25 10:55:48 +0800117
118 <activity android:name=".settings.CallBlockDisabledActivity"
119 android:configChanges="keyboardHidden|orientation|screenSize"
120 android:excludeFromRecents="true"
121 android:launchMode="singleInstance"
122 android:theme="@style/Theme.Telecomm.Transparent"
123 android:process=":ui">
124 </activity>
125
Santos Cordon10e68322013-12-12 16:06:56 -0800126 <!-- Activity that starts the outgoing call process by listening to CALL intent which
127 contain contact information in the intent's data. CallActivity handles any data
128 URL with the schemes "tel", "sip", and "voicemail". It also handles URLs linked to
129 contacts provider entries. Any data not fitting the schema described is ignored. -->
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800130 <activity android:name=".components.UserCallActivity"
Jay Shrauner4d0b4192015-08-11 10:46:08 -0700131 android:label="@string/userCallActivityLabel"
Yorke Leed7255872014-08-25 15:03:51 -0700132 android:theme="@style/Theme.Telecomm.Transparent"
Santos Cordon10e68322013-12-12 16:06:56 -0800133 android:permission="android.permission.CALL_PHONE"
Santos Cordone6a33f22014-12-02 13:19:00 -0800134 android:excludeFromRecents="true"
135 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800136 <!-- CALL action intent filters for the various ways of initiating an outgoing call. -->
137 <intent-filter>
138 <action android:name="android.intent.action.CALL" />
139 <category android:name="android.intent.category.DEFAULT" />
140 <data android:scheme="tel" />
141 </intent-filter>
142 <!-- Specify an icon for SIP calls so that quick contacts widget shows a special SIP
143 icon for calls to SIP addresses. -->
144 <intent-filter android:icon="@drawable/ic_launcher_sip_call">
145 <action android:name="android.intent.action.CALL" />
146 <category android:name="android.intent.category.DEFAULT" />
147 <data android:scheme="sip" />
148 </intent-filter>
149 <intent-filter>
150 <action android:name="android.intent.action.CALL" />
151 <category android:name="android.intent.category.DEFAULT" />
152 <data android:scheme="voicemail" />
153 </intent-filter>
154 <!-- Omit default category below so that all Intents sent to this filter must be
155 explicit. -->
156 <intent-filter>
157 <action android:name="android.intent.action.CALL" />
158 <data android:mimeType="vnd.android.cursor.item/phone" />
159 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
160 <data android:mimeType="vnd.android.cursor.item/person" />
161 </intent-filter>
162 </activity>
163
164 <!-- Works like CallActivity with CALL_PRIVILEGED instead of CALL intent.
165 CALL_PRIVILEGED allows calls to emergency numbers unlike CALL which disallows it.
166 Intent-sender must have the CALL_PRIVILEGED permission or the broadcast will not be
167 processed. High priority of 1000 is used in all intent filters to prevent anything but
168 the system from processing this intent (b/8871505). -->
169 <activity-alias android:name="PrivilegedCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800170 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800171 android:permission="android.permission.CALL_PRIVILEGED"
172 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800173 <intent-filter android:priority="1000">
174 <action android:name="android.intent.action.CALL_PRIVILEGED" />
175 <category android:name="android.intent.category.DEFAULT" />
176 <data android:scheme="tel" />
177 </intent-filter>
178 <intent-filter android:priority="1000"
179 android:icon="@drawable/ic_launcher_sip_call">
180 <action android:name="android.intent.action.CALL_PRIVILEGED" />
181 <category android:name="android.intent.category.DEFAULT" />
182 <data android:scheme="sip" />
183 </intent-filter>
184 <intent-filter android:priority="1000">
185 <action android:name="android.intent.action.CALL_PRIVILEGED" />
186 <category android:name="android.intent.category.DEFAULT" />
187 <data android:scheme="voicemail" />
188 </intent-filter>
189 <intent-filter android:priority="1000">
190 <action android:name="android.intent.action.CALL_PRIVILEGED" />
191 <data android:mimeType="vnd.android.cursor.item/phone" />
192 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
193 <data android:mimeType="vnd.android.cursor.item/person" />
194 </intent-filter>
195 </activity-alias>
196
197 <!-- Works like CallActivity with CALL_EMERGENCY instead of CALL intent.
198 CALL_EMERGENCY allows calls *only* to emergency numbers. Intent-sender must have the
199 CALL_PRIVILEGED permission or the broadcast will not be processed. High priority of
200 1000 is used in all intent filters to prevent anything but the system from processing
201 this intent (b/8871505). -->
Santos Cordondf399862014-08-06 04:39:15 -0700202 <!-- TODO: Is there really a notion of an emergency SIP number? If not, can
Santos Cordon10e68322013-12-12 16:06:56 -0800203 that scheme be removed from this activity? -->
204 <activity-alias android:name="EmergencyCallActivity"
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800205 android:targetActivity=".components.UserCallActivity"
Santos Cordone6a33f22014-12-02 13:19:00 -0800206 android:permission="android.permission.CALL_PRIVILEGED"
207 android:process=":ui">
Santos Cordon10e68322013-12-12 16:06:56 -0800208 <intent-filter android:priority="1000">
209 <action android:name="android.intent.action.CALL_EMERGENCY" />
210 <category android:name="android.intent.category.DEFAULT" />
211 <data android:scheme="tel" />
212 </intent-filter>
213 <intent-filter android:priority="1000"
214 android:icon="@drawable/ic_launcher_sip_call">
215 <action android:name="android.intent.action.CALL_EMERGENCY" />
216 <category android:name="android.intent.category.DEFAULT" />
217 <data android:scheme="sip" />
218 </intent-filter>
219 <intent-filter android:priority="1000">
220 <action android:name="android.intent.action.CALL_EMERGENCY" />
221 <category android:name="android.intent.category.DEFAULT" />
222 <data android:scheme="voicemail" />
223 </intent-filter>
224 <intent-filter android:priority="1000">
225 <action android:name="android.intent.action.CALL_EMERGENCY" />
226 <data android:mimeType="vnd.android.cursor.item/phone" />
227 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
228 <data android:mimeType="vnd.android.cursor.item/person" />
229 </intent-filter>
230 </activity-alias>
231
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800232 <receiver android:name=".components.TelecomBroadcastReceiver" android:exported="false"
Santos Cordone6a33f22014-12-02 13:19:00 -0800233 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700234 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700235 <action android:name="com.android.server.telecom.ACTION_CLEAR_MISSED_CALLS" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700236 <action android:name="com.android.server.telecom.ACTION_CALL_BACK_FROM_NOTIFICATION" />
237 <action android:name="com.android.server.telecom.ACTION_SEND_SMS_FROM_NOTIFICATION" />
Tyler Gunn2b17f232017-03-08 08:51:00 -0800238 <action android:name="com.android.server.telecom.ACTION_ANSWER_FROM_NOTIFICATION" />
239 <action android:name="com.android.server.telecom.ACTION_REJECT_FROM_NOTIFICATION" />
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700240 <action android:name="com.android.server.telecom.PROCEED_WITH_CALL" />
241 <action android:name="com.android.server.telecom.CANCEL_CALL" />
sqiane976e682018-10-05 18:51:40 -0700242 <action android:name="com.android.server.telecom.PROCEED_WITH_REDIRECTED_CALL" />
243 <action android:name="com.android.server.telecom.CANCEL_REDIRECTED_CALL" />
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700244 </intent-filter>
245 </receiver>
246
tonyzhu8ba94c52018-10-23 15:37:04 +0800247 <receiver android:name=".components.AppUninstallBroadcastReceiver"
Santos Cordone6a33f22014-12-02 13:19:00 -0800248 android:process="system">
Nancy Chen6f5c08d2014-09-23 16:54:05 -0700249 <intent-filter>
250 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
251 <data android:scheme="package" />
252 </intent-filter>
253 </receiver>
Tyler Gunnd900ce62014-08-13 11:40:59 -0700254
Andrew Leeaf22dd12015-02-25 17:40:11 -0800255 <activity android:name=".RespondViaSmsSettings"
Ihab Awadff7493a2014-06-10 13:47:44 -0700256 android:label="@string/respond_via_sms_setting_title"
Andrew Leefd053f42014-11-12 18:09:58 -0800257 android:configChanges="orientation|screenSize|keyboardHidden"
Santos Cordone6a33f22014-12-02 13:19:00 -0800258 android:theme="@style/Theme.Telecom.DialerSettings"
259 android:process=":ui">
Ihab Awadff7493a2014-06-10 13:47:44 -0700260 <intent-filter>
261 <action android:name="android.intent.action.MAIN" />
Andrew Lee9631da42015-02-18 17:58:58 -0800262 <action android:name="android.telecom.action.SHOW_RESPOND_VIA_SMS_SETTINGS" />
263 <category android:name="android.intent.category.DEFAULT" />
Ihab Awadff7493a2014-06-10 13:47:44 -0700264 </intent-filter>
265 </activity>
Ihab Awad104f8062014-07-17 11:29:35 -0700266
Santos Cordon55344342015-05-04 13:05:30 -0700267 <activity android:name=".settings.EnableAccountPreferenceActivity"
268 android:label="@string/enable_account_preference_title"
269 android:configChanges="orientation|screenSize|keyboardHidden"
270 android:theme="@style/Theme.Telecom.DialerSettings"
271 android:process=":ui">
272 <intent-filter>
273 <action android:name="android.intent.action.MAIN" />
274 <category android:name="android.intent.category.DEFAULT" />
275 </intent-filter>
276 </activity>
277
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800278 <activity android:name=".components.ErrorDialogActivity"
Yorke Leed7255872014-08-25 15:03:51 -0700279 android:configChanges="orientation|screenSize|keyboardHidden"
280 android:excludeFromRecents="true"
281 android:launchMode="singleInstance"
Santos Cordone6a33f22014-12-02 13:19:00 -0800282 android:theme="@style/Theme.Telecomm.Transparent"
283 android:process=":ui">
Yorke Leed7255872014-08-25 15:03:51 -0700284 </activity>
285
Tyler Gunnbbd78a72017-04-30 14:16:07 -0700286 <activity android:name=".ui.ConfirmCallDialogActivity"
287 android:configChanges="orientation|screenSize|keyboardHidden"
288 android:excludeFromRecents="true"
289 android:launchMode="singleInstance"
290 android:theme="@style/Theme.Telecomm.Transparent"
291 android:process=":ui">
292 </activity>
293
sqiane976e682018-10-05 18:51:40 -0700294 <activity android:name=".ui.CallRedirectionTimeoutDialogActivity"
295 android:configChanges="orientation|screenSize|keyboardHidden"
296 android:excludeFromRecents="true"
297 android:launchMode="singleInstance"
298 android:theme="@style/Theme.Telecomm.Transparent"
299 android:process=":ui">
300 </activity>
301
Tyler Gunn47eb3fe2018-03-12 14:38:47 -0700302 <activity android:name=".ui.TelecomDeveloperMenu"
Tyler Gunne0e1b572018-12-04 14:09:21 -0800303 android:label="@string/developer_title"
304 android:exported="false"
305 android:process=":ui" />
Yorke Leeb5c5d442015-04-27 15:21:53 -0700306
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800307 <service android:name=".components.BluetoothPhoneService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800308 android:singleUser="true"
309 android:process="system">
Santos Cordonfddf12e2014-09-25 15:08:57 -0700310 <intent-filter>
311 <action android:name="android.bluetooth.IBluetoothHeadsetPhone" />
312 </intent-filter>
313 </service>
314
Ihab Awad78a5e6b2015-02-06 10:13:05 -0800315 <service android:name=".components.TelecomService"
Santos Cordone6a33f22014-12-02 13:19:00 -0800316 android:singleUser="true"
317 android:process="system">
Santos Cordonf987d1a2014-12-02 03:37:03 -0800318 <intent-filter>
Yorke Lee57f61492015-03-27 14:00:13 -0700319 <action android:name="android.telecom.ITelecomService" />
Santos Cordonf987d1a2014-12-02 03:37:03 -0800320 </intent-filter>
321 </service>
322
Ben Gilad4937ff92013-12-12 12:05:37 -0800323 </application>
324</manifest>