blob: 6528fdb4acea70129042f2fc443332e62ac6d843 [file] [log] [blame]
Chiao Cheng94b10b52012-08-17 16:59:12 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 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"
Jay Shrauner57ccf012014-03-21 14:12:36 -070018 package="com.android.dialer"
Anthony Leef88d4702015-08-12 14:35:25 -070019 coreApp="true"
Brandon Maxwellcb53f982016-03-15 18:45:06 -070020 android:versionCode="30000"
21 android:versionName="3.00.00">
Chiao Cheng94b10b52012-08-17 16:59:12 -070022
Yorke Leee772cc32015-06-25 10:19:09 -070023 <uses-sdk
Jay Shraunerf61a9a82015-07-14 09:24:06 -070024 android:minSdkVersion="23"
25 android:targetSdkVersion="23" />
Yorke Leee772cc32015-06-25 10:19:09 -070026
Yorke Lee72d59612014-07-18 09:08:51 -070027 <uses-permission android:name="android.permission.CALL_PHONE" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070028 <uses-permission android:name="android.permission.READ_CONTACTS" />
29 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
30 <uses-permission android:name="android.permission.READ_CALL_LOG" />
31 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Yorke Lee7d661342013-11-07 12:11:13 -080032 <uses-permission android:name="android.permission.READ_PROFILE" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070033 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
34 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Ta-wei Yen6d8acb22016-03-07 14:20:57 -080035 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
Chiao Cheng94b10b52012-08-17 16:59:12 -070036 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
37 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070038 <uses-permission android:name="android.permission.INTERNET" />
Yorke Lee1197d332013-08-14 08:55:53 -070039 <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/>
Chiao Cheng94b10b52012-08-17 16:59:12 -070040 <uses-permission android:name="android.permission.NFC" />
41 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
42 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
43 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070044 <uses-permission android:name="android.permission.WAKE_LOCK" />
45 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
46 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
47 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
48 <uses-permission android:name="android.permission.VIBRATE" />
49 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Tyler Gunn54268512014-08-18 16:24:05 -070050 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070051 <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
Yorke Lee2cb39a62014-07-18 16:36:21 -070052 <uses-permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL" />
53 <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070054 <uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK" />
55 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
Chiao Cheng94b10b52012-08-17 16:59:12 -070056 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Evan Charltonb6b31722014-09-15 09:25:39 -070057 <uses-permission android:name="android.permission.BROADCAST_STICKY" />
Andrew Leed04f11f2015-02-12 12:16:07 -080058 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Christine Chen28eb2f12013-10-07 11:44:06 -070059 <!-- This tells the activity manager to not delay any of our activity
60 start requests, even if they happen immediately after the user
61 presses home. -->
62 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070063
64 <application
Alon Albert05de7012013-08-22 11:26:28 -070065 android:name="DialerApplication"
Chiao Cheng94b10b52012-08-17 16:59:12 -070066 android:label="@string/applicationLabel"
Chiao Cheng437afcc2012-11-09 15:18:21 -080067 android:icon="@mipmap/ic_launcher_phone"
Fabrice Di Meglioc341db02013-04-03 21:11:37 -070068 android:hardwareAccelerated="true"
Christine Chen9c1e0652013-05-23 15:40:19 -070069 android:supportsRtl="true"
Alex Klyubin45c14892015-04-02 10:41:18 -070070 android:backupAgent='com.android.dialer.DialerBackupAgent'
Jeff Sharkey23a60762016-03-17 11:01:30 -060071 android:usesCleartextTraffic="false">
Christine Chen9c1e0652013-05-23 15:40:19 -070072
73 <meta-data android:name="com.google.android.backup.api_key"
74 android:value="AEdPqrEAAAAIBXgtCEKQ6W0PXVnW-ZVia2KmlV2AxsTw3GjAeQ" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070075
Chiao Cheng94b10b52012-08-17 16:59:12 -070076 <!-- The entrance point for Phone UI.
77 stateAlwaysHidden is set to suppress keyboard show up on
78 dialpad screen. -->
79 <activity android:name=".DialtactsActivity"
Jay Shraunerbf8b4b92014-09-03 15:12:16 -070080 android:label="@string/launcherActivityLabel"
Yorke Leebe10b412014-04-23 19:14:12 -070081 android:theme="@style/DialtactsActivityTheme"
Chiao Cheng94b10b52012-08-17 16:59:12 -070082 android:launchMode="singleTask"
83 android:clearTaskOnLaunch="true"
84 android:icon="@mipmap/ic_launcher_phone"
Nancy Chend4c8d5a2016-01-28 15:12:11 -080085 android:windowSoftInputMode="stateAlwaysHidden|adjustNothing"
86 android:resizeableActivity="true"
Jeff Sharkey23a60762016-03-17 11:01:30 -060087 android:directBootAware="true">
Chiao Cheng94b10b52012-08-17 16:59:12 -070088 <intent-filter>
89 <action android:name="android.intent.action.DIAL" />
90 <category android:name="android.intent.category.DEFAULT" />
91 <category android:name="android.intent.category.BROWSABLE" />
92 <data android:mimeType="vnd.android.cursor.item/phone" />
93 <data android:mimeType="vnd.android.cursor.item/person" />
94 </intent-filter>
95 <intent-filter>
96 <action android:name="android.intent.action.DIAL" />
97 <category android:name="android.intent.category.DEFAULT" />
98 <category android:name="android.intent.category.BROWSABLE" />
99 <data android:scheme="voicemail" />
100 </intent-filter>
101 <intent-filter>
102 <action android:name="android.intent.action.DIAL" />
103 <category android:name="android.intent.category.DEFAULT" />
104 </intent-filter>
105 <intent-filter>
106 <action android:name="android.intent.action.MAIN" />
107 <category android:name="android.intent.category.DEFAULT" />
108 <category android:name="android.intent.category.LAUNCHER" />
109 <category android:name="android.intent.category.BROWSABLE" />
110 </intent-filter>
111 <intent-filter>
112 <action android:name="android.intent.action.VIEW" />
113 <action android:name="android.intent.action.DIAL" />
114 <category android:name="android.intent.category.DEFAULT" />
115 <category android:name="android.intent.category.BROWSABLE" />
116 <data android:scheme="tel" />
117 </intent-filter>
118 <intent-filter>
Nancy Chen019713e2015-07-06 18:25:24 -0700119 <action android:name="android.intent.action.VIEW" />
120 <category android:name="android.intent.category.DEFAULT" />
121 <category android:name="android.intent.category.BROWSABLE" />
122 <data android:mimeType="vnd.android.cursor.dir/calls" />
123 </intent-filter>
124 <intent-filter>
Chiao Cheng94b10b52012-08-17 16:59:12 -0700125 <action android:name="android.intent.action.CALL_BUTTON" />
126 <category android:name="android.intent.category.DEFAULT" />
127 <category android:name="android.intent.category.BROWSABLE" />
128 </intent-filter>
129 <!-- This was never intended to be public, but is here for backward
130 compatibility. Use Intent.ACTION_DIAL instead. -->
131 <intent-filter>
132 <action android:name="com.android.phone.action.TOUCH_DIALER" />
133 <category android:name="android.intent.category.DEFAULT" />
134 <category android:name="android.intent.category.TAB" />
135 </intent-filter>
Andrew Lee4de59fb2015-08-13 15:20:08 -0700136 <intent-filter android:label="@string/callHistoryIconLabel">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700137 <action android:name="com.android.phone.action.RECENT_CALLS" />
138 <category android:name="android.intent.category.DEFAULT" />
139 <category android:name="android.intent.category.TAB" />
140 </intent-filter>
Jorim Jaggida1da5d2014-07-25 22:13:24 +0200141 <meta-data
142 android:name="com.android.keyguard.layout"
143 android:resource="@layout/keyguard_preview" />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700144 </activity>
145
Yorke Leeaf6f1952014-07-14 19:13:16 -0700146 <activity android:name="com.android.dialer.settings.DialerSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700147 android:label="@string/dialer_settings_label"
148 android:parentActivityName="com.android.dialer.DialtactsActivity"
149 android:theme="@style/SettingsStyle"
150 android:exported="false">
Yorke Leeaf6f1952014-07-14 19:13:16 -0700151 </activity>
152
Andrew Lee91cd89c2015-10-28 17:47:42 -0700153 <activity android:name="com.android.dialer.filterednumber.BlockedNumbersSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700154 android:label="@string/manage_blocked_numbers_label"
Anne Ronge78b54c2015-09-28 11:18:42 -0700155 android:parentActivityName="com.android.dialer.settings.DialerSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700156 android:theme="@style/ManageBlockedNumbersStyle"
157 android:exported="false">
Anne Ronge78b54c2015-09-28 11:18:42 -0700158 </activity>
159
Sarmad Hashmi3694b112016-02-17 17:39:36 -0800160 <activity android:name="com.android.dialer.voicemail.VoicemailArchiveActivity"
161 android:label="@string/voicemail_archive_activity_title"
162 android:theme="@style/DialtactsThemeWithoutActionBarOverlay">
163 </activity>
164
Yorke Leec3766332013-07-31 11:13:16 -0700165 <activity android:name="com.android.dialer.calllog.CallLogActivity"
166 android:label="@string/call_log_activity_title"
Yorke Lee86e21f72014-04-02 16:49:38 -0700167 android:theme="@style/DialtactsThemeWithoutActionBarOverlay"
Yorke Leec3766332013-07-31 11:13:16 -0700168 android:icon="@mipmap/ic_launcher_phone">
Yorke Leedfb2eee2013-06-26 18:24:32 -0700169 </activity>
170
Chiao Cheng94b10b52012-08-17 16:59:12 -0700171 <activity android:name="com.android.dialer.CallDetailActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700172 android:label="@string/callDetailTitle"
173 android:theme="@style/CallDetailActivityTheme"
Brandon Maxwell7457ef72016-09-26 12:37:29 -0700174 android:parentActivityName="com.android.dialer.calllog.CallLogActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700175 android:icon="@mipmap/ic_launcher_phone">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700176 <intent-filter>
177 <action android:name="android.intent.action.VIEW"/>
178 <category android:name="android.intent.category.DEFAULT"/>
179 <data android:mimeType="vnd.android.cursor.item/calls"/>
180 </intent-filter>
181 </activity>
182
183 <activity android:name="com.android.contacts.common.test.FragmentTestActivity">
184 <intent-filter>
185 <category android:name="android.intent.category.TEST"/>
186 </intent-filter>
187 </activity>
188
Tyler Gunn476bd262015-08-10 10:03:37 -0700189 <activity android:name="com.android.contacts.common.dialog.CallSubjectDialog"
190 android:theme="@style/Theme.CallSubjectDialogTheme"
191 android:windowSoftInputMode="stateVisible|adjustResize">
Tyler Gunnc72f4192015-08-05 14:34:28 -0700192 <intent-filter>
193 <action android:name="android.intent.action.VIEW"/>
194 </intent-filter>
195 </activity>
196
Chiao Cheng94b10b52012-08-17 16:59:12 -0700197 <!-- Backwards compatibility: "Phone" from Gingerbread and earlier -->
198 <activity-alias android:name="DialtactsActivity"
199 android:targetActivity=".DialtactsActivity"
200 android:exported="true"
201 />
202
203 <!-- Backwards compatibility: "Call log" from Gingerbread and earlier -->
204 <activity-alias android:name="RecentCallsListActivity"
205 android:targetActivity=".DialtactsActivity"
206 android:exported="true"
207 />
208
209 <!-- Backwards compatibility: "Call log" from ICS -->
210 <activity-alias android:name=".activities.CallLogActivity"
211 android:targetActivity=".DialtactsActivity"
212 android:exported="true"
213 />
214
Chiao Chenge1d64772012-10-29 18:32:25 -0700215 <!-- Used to filter contacts list by account -->
216 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800217 android:name="com.android.contacts.common.list.AccountFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700218 android:label="@string/activity_title_contacts_filter"
219 android:theme="@style/ContactListFilterTheme"/>
220
221 <!-- Used to select display and sync groups -->
222 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800223 android:name="com.android.contacts.common.list.CustomContactListFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700224 android:label="@string/custom_list_filter"
225 android:theme="@style/ContactListFilterTheme"/>
226
Brian Attwellbd53eb42015-05-11 17:18:07 -0700227 <activity
228 android:name="com.android.contacts.common.activity.RequestImportVCardPermissionsActivity"
229 android:label="@string/launcherActivityLabel"
230 android:theme="@style/BackgroundOnlyTheme"
231 android:exported="false"/>
232
Chiao Cheng8378c572012-12-03 17:17:52 -0800233 <!-- vCard related -->
234 <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity"
235 android:configChanges="orientation|screenSize|keyboardHidden"
236 android:theme="@style/BackgroundOnlyTheme">
Chiao Cheng8378c572012-12-03 17:17:52 -0800237 </activity>
238
239 <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity"
240 android:configChanges="orientation|screenSize|keyboardHidden"
241 android:theme="@style/BackgroundOnlyTheme">
Chiao Cheng8378c572012-12-03 17:17:52 -0800242 </activity>
243
244 <activity android:name="com.android.contacts.common.vcard.CancelActivity"
245 android:theme="@style/BackgroundOnlyTheme"/>
246
247 <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity"
248 android:theme="@style/BackgroundOnlyTheme"/>
249
250 <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity"
251 android:theme="@style/BackgroundOnlyTheme"/>
252
Wenyi Wang4cae6752016-02-18 20:39:00 -0800253 <activity android:name="com.android.contacts.common.vcard.ShareVCardActivity"
254 android:theme="@style/BackgroundOnlyTheme" />
255
Chiao Cheng8378c572012-12-03 17:17:52 -0800256 <service
257 android:name="com.android.contacts.common.vcard.VCardService"
258 android:exported="false"/>
259 <!-- end vCard related -->
260
Jay Shrauner6e826d72015-11-17 14:41:58 -0800261 <receiver android:name=".calllog.CallLogReceiver">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700262 <intent-filter>
263 <action android:name="android.intent.action.NEW_VOICEMAIL" />
264 <data
265 android:scheme="content"
266 android:host="com.android.voicemail"
267 android:mimeType="vnd.android.cursor.item/voicemail"
268 />
269 </intent-filter>
270 <intent-filter android:priority="100">
271 <action android:name="android.intent.action.BOOT_COMPLETED"/>
272 </intent-filter>
273 </receiver>
274
Yorke Lee1197d332013-08-14 08:55:53 -0700275 <receiver android:name=".interactions.UndemoteOutgoingCallReceiver">
276 <intent-filter>
277 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
278 </intent-filter>
279 </receiver>
280
Chiao Cheng94b10b52012-08-17 16:59:12 -0700281 <service
282 android:name=".calllog.CallLogNotificationsService"
Jeff Sharkey23a60762016-03-17 11:01:30 -0600283 android:directBootAware="true"
Chiao Cheng94b10b52012-08-17 16:59:12 -0700284 android:exported="false"
285 />
Yorke Lee81e0da42013-01-30 14:56:19 -0800286
Brandon Maxwell3cb83e02016-03-04 17:33:59 -0800287 <receiver android:name=".calllog.MissedCallNotificationReceiver"
Jeff Sharkey23a60762016-03-17 11:01:30 -0600288 android:directBootAware="true">
Nancy Chencc42b592016-01-26 14:38:57 -0800289 <intent-filter>
290 <action android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION" />
291 </intent-filter>
292 </receiver>
293
Yorke Lee81e0da42013-01-30 14:56:19 -0800294 <!-- Service to update a contact -->
295 <service
296 android:name=".contact.ContactUpdateService"
297 android:exported="false" />
Santos Cordonc286ae22013-09-03 15:58:07 -0700298
Yorke Lee294dadd2014-06-13 14:54:40 -0700299 <!-- Broadcast receiver that passively listens to location updates -->
300 <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/>
301
302 <!-- IntentService to update the user's current country -->
303 <service android:name="com.android.contacts.common.location.UpdateCountryService"
304 android:exported="false"/>
305
Santos Cordonc286ae22013-09-03 15:58:07 -0700306 <!-- Main in-call UI activity. This is never launched directly
307 from outside the phone app; instead, it's either launched by
308 the OutgoingCallBroadcaster (for outgoing calls), or as the
309 fullScreenIntent of a notification (for incoming calls.) -->
310 <activity android:name="com.android.incallui.InCallActivity"
311 android:theme="@style/Theme.InCallScreen"
Santos Cordone8c54f92013-09-04 15:33:51 -0700312 android:label="@string/phoneAppLabel"
Santos Cordonc286ae22013-09-03 15:58:07 -0700313 android:excludeFromRecents="true"
314 android:launchMode="singleInstance"
Qi Wang40de5982016-02-23 12:57:04 -0800315 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboardHidden"
Santos Cordonc286ae22013-09-03 15:58:07 -0700316 android:exported="false"
Brandon Maxwell6773df02016-01-14 15:31:42 -0800317 android:screenOrientation="nosensor"
Jeff Sharkey23a60762016-03-17 11:01:30 -0600318 android:directBootAware="true"
Qi Wang40de5982016-02-23 12:57:04 -0800319 android:resizeableActivity="true">
Santos Cordonc286ae22013-09-03 15:58:07 -0700320 </activity>
321
Santos Cordon77cecf22014-06-26 14:50:10 -0700322 <service android:name="com.android.incallui.InCallServiceImpl"
Brandon Maxwell6773df02016-01-14 15:31:42 -0800323 android:permission="android.permission.BIND_INCALL_SERVICE"
Jeff Sharkey23a60762016-03-17 11:01:30 -0600324 android:directBootAware="true" >
Santos Cordone9117792015-06-23 15:14:03 -0700325 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true" />
Brandon Maxwell88bbc3e2016-01-27 18:11:47 -0800326 <meta-data android:name="android.telecom.IN_CALL_SERVICE_RINGING"
Brandon Maxwell3c048b92016-02-25 18:24:57 -0800327 android:value="false"/>
Tyler Gunn318a06e2016-06-09 12:50:15 -0700328 <meta-data android:name="android.telecom.INCLUDE_EXTERNAL_CALLS"
329 android:value="true"/>
Santos Cordon77cecf22014-06-26 14:50:10 -0700330 <intent-filter>
Tyler Gunn9dc924c2014-09-12 09:33:50 -0700331 <action android:name="android.telecom.InCallService"/>
Santos Cordon77cecf22014-06-26 14:50:10 -0700332 </intent-filter>
333 </service>
Anne Rong6fcdcc12015-08-10 17:45:55 -0700334
Brandon Maxwell3cb83e02016-03-04 17:33:59 -0800335 <!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
336 <receiver android:name="com.android.incallui.NotificationBroadcastReceiver"
Jeff Sharkey23a60762016-03-17 11:01:30 -0600337 android:directBootAware="true"
Brandon Maxwell3cb83e02016-03-04 17:33:59 -0800338 android:exported="false" />
339
Anne Rong6fcdcc12015-08-10 17:45:55 -0700340 <provider
341 android:name=".database.FilteredNumberProvider"
Anne Rong7e488f52015-08-19 18:32:08 -0700342 android:authorities="com.android.dialer.database.filterednumberprovider"
Anne Rong6fcdcc12015-08-10 17:45:55 -0700343 android:exported="false"
344 android:multiprocess="false"
345 />
Wenyi Wang4cae6752016-02-18 20:39:00 -0800346
347 <provider
348 android:name="android.support.v4.content.FileProvider"
349 android:authorities="@string/contacts_file_provider_authority"
350 android:grantUriPermissions="true"
351 android:exported="false">
352 <meta-data
353 android:name="android.support.FILE_PROVIDER_PATHS"
354 android:resource="@xml/file_paths" />
355 </provider>
Sarmad Hashmi450a6052016-02-09 18:54:26 -0800356
357 <provider
358 android:name=".database.VoicemailArchiveProvider"
359 android:authorities="com.android.dialer.database.voicemailarchiveprovider"
360 android:exported="false"
361 android:multiprocess="false"
362 />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700363 </application>
364</manifest>