blob: c39bd5b6cfe9dfe3bfdbc644b2c64786d6a27e05 [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 Maxwellc0641072016-02-24 09:57:43 -080020 android:versionCode="20503"
21 android:versionName="2.05.03">
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 Sharkey21421d82015-11-18 15:35:13 -070071 android:usesCleartextTraffic="false"
Brandon Maxwell3cb83e02016-03-04 17:33:59 -080072 android:forceDeviceEncrypted="false">
Christine Chen9c1e0652013-05-23 15:40:19 -070073
74 <meta-data android:name="com.google.android.backup.api_key"
75 android:value="AEdPqrEAAAAIBXgtCEKQ6W0PXVnW-ZVia2KmlV2AxsTw3GjAeQ" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070076
Chiao Cheng94b10b52012-08-17 16:59:12 -070077 <!-- The entrance point for Phone UI.
78 stateAlwaysHidden is set to suppress keyboard show up on
79 dialpad screen. -->
80 <activity android:name=".DialtactsActivity"
Jay Shraunerbf8b4b92014-09-03 15:12:16 -070081 android:label="@string/launcherActivityLabel"
Yorke Leebe10b412014-04-23 19:14:12 -070082 android:theme="@style/DialtactsActivityTheme"
Chiao Cheng94b10b52012-08-17 16:59:12 -070083 android:launchMode="singleTask"
84 android:clearTaskOnLaunch="true"
85 android:icon="@mipmap/ic_launcher_phone"
Nancy Chend4c8d5a2016-01-28 15:12:11 -080086 android:windowSoftInputMode="stateAlwaysHidden|adjustNothing"
87 android:resizeableActivity="true"
Brandon Maxwell3cb83e02016-03-04 17:33:59 -080088 android:encryptionAware="true"
Nancy Chend4c8d5a2016-01-28 15:12:11 -080089 >
Chiao Cheng94b10b52012-08-17 16:59:12 -070090 <intent-filter>
91 <action android:name="android.intent.action.DIAL" />
92 <category android:name="android.intent.category.DEFAULT" />
93 <category android:name="android.intent.category.BROWSABLE" />
94 <data android:mimeType="vnd.android.cursor.item/phone" />
95 <data android:mimeType="vnd.android.cursor.item/person" />
96 </intent-filter>
97 <intent-filter>
98 <action android:name="android.intent.action.DIAL" />
99 <category android:name="android.intent.category.DEFAULT" />
100 <category android:name="android.intent.category.BROWSABLE" />
101 <data android:scheme="voicemail" />
102 </intent-filter>
103 <intent-filter>
104 <action android:name="android.intent.action.DIAL" />
105 <category android:name="android.intent.category.DEFAULT" />
106 </intent-filter>
107 <intent-filter>
108 <action android:name="android.intent.action.MAIN" />
109 <category android:name="android.intent.category.DEFAULT" />
110 <category android:name="android.intent.category.LAUNCHER" />
111 <category android:name="android.intent.category.BROWSABLE" />
112 </intent-filter>
113 <intent-filter>
114 <action android:name="android.intent.action.VIEW" />
115 <action android:name="android.intent.action.DIAL" />
116 <category android:name="android.intent.category.DEFAULT" />
117 <category android:name="android.intent.category.BROWSABLE" />
118 <data android:scheme="tel" />
119 </intent-filter>
120 <intent-filter>
Nancy Chen019713e2015-07-06 18:25:24 -0700121 <action android:name="android.intent.action.VIEW" />
122 <category android:name="android.intent.category.DEFAULT" />
123 <category android:name="android.intent.category.BROWSABLE" />
124 <data android:mimeType="vnd.android.cursor.dir/calls" />
125 </intent-filter>
126 <intent-filter>
Chiao Cheng94b10b52012-08-17 16:59:12 -0700127 <action android:name="android.intent.action.CALL_BUTTON" />
128 <category android:name="android.intent.category.DEFAULT" />
129 <category android:name="android.intent.category.BROWSABLE" />
130 </intent-filter>
131 <!-- This was never intended to be public, but is here for backward
132 compatibility. Use Intent.ACTION_DIAL instead. -->
133 <intent-filter>
134 <action android:name="com.android.phone.action.TOUCH_DIALER" />
135 <category android:name="android.intent.category.DEFAULT" />
136 <category android:name="android.intent.category.TAB" />
137 </intent-filter>
Andrew Lee4de59fb2015-08-13 15:20:08 -0700138 <intent-filter android:label="@string/callHistoryIconLabel">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700139 <action android:name="com.android.phone.action.RECENT_CALLS" />
140 <category android:name="android.intent.category.DEFAULT" />
141 <category android:name="android.intent.category.TAB" />
142 </intent-filter>
Jorim Jaggida1da5d2014-07-25 22:13:24 +0200143 <meta-data
144 android:name="com.android.keyguard.layout"
145 android:resource="@layout/keyguard_preview" />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700146 </activity>
147
Yorke Leeaf6f1952014-07-14 19:13:16 -0700148 <activity android:name="com.android.dialer.settings.DialerSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700149 android:label="@string/dialer_settings_label"
150 android:parentActivityName="com.android.dialer.DialtactsActivity"
151 android:theme="@style/SettingsStyle"
152 android:exported="false">
Yorke Leeaf6f1952014-07-14 19:13:16 -0700153 </activity>
154
Andrew Lee91cd89c2015-10-28 17:47:42 -0700155 <activity android:name="com.android.dialer.filterednumber.BlockedNumbersSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700156 android:label="@string/manage_blocked_numbers_label"
Anne Ronge78b54c2015-09-28 11:18:42 -0700157 android:parentActivityName="com.android.dialer.settings.DialerSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700158 android:theme="@style/ManageBlockedNumbersStyle"
159 android:exported="false">
Anne Ronge78b54c2015-09-28 11:18:42 -0700160 </activity>
161
Sarmad Hashmi3694b112016-02-17 17:39:36 -0800162 <activity android:name="com.android.dialer.voicemail.VoicemailArchiveActivity"
163 android:label="@string/voicemail_archive_activity_title"
164 android:theme="@style/DialtactsThemeWithoutActionBarOverlay">
165 </activity>
166
Yorke Leec3766332013-07-31 11:13:16 -0700167 <activity android:name="com.android.dialer.calllog.CallLogActivity"
168 android:label="@string/call_log_activity_title"
Yorke Lee86e21f72014-04-02 16:49:38 -0700169 android:theme="@style/DialtactsThemeWithoutActionBarOverlay"
Yorke Leec3766332013-07-31 11:13:16 -0700170 android:icon="@mipmap/ic_launcher_phone">
Yorke Leedfb2eee2013-06-26 18:24:32 -0700171 </activity>
172
Chiao Cheng94b10b52012-08-17 16:59:12 -0700173 <activity android:name="com.android.dialer.CallDetailActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700174 android:label="@string/callDetailTitle"
175 android:theme="@style/CallDetailActivityTheme"
176 android:icon="@mipmap/ic_launcher_phone">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700177 <intent-filter>
178 <action android:name="android.intent.action.VIEW"/>
179 <category android:name="android.intent.category.DEFAULT"/>
180 <data android:mimeType="vnd.android.cursor.item/calls"/>
181 </intent-filter>
182 </activity>
183
184 <activity android:name="com.android.contacts.common.test.FragmentTestActivity">
185 <intent-filter>
186 <category android:name="android.intent.category.TEST"/>
187 </intent-filter>
188 </activity>
189
Tyler Gunn476bd262015-08-10 10:03:37 -0700190 <activity android:name="com.android.contacts.common.dialog.CallSubjectDialog"
191 android:theme="@style/Theme.CallSubjectDialogTheme"
192 android:windowSoftInputMode="stateVisible|adjustResize">
Tyler Gunnc72f4192015-08-05 14:34:28 -0700193 <intent-filter>
194 <action android:name="android.intent.action.VIEW"/>
195 </intent-filter>
196 </activity>
197
Chiao Cheng94b10b52012-08-17 16:59:12 -0700198 <!-- Backwards compatibility: "Phone" from Gingerbread and earlier -->
199 <activity-alias android:name="DialtactsActivity"
200 android:targetActivity=".DialtactsActivity"
201 android:exported="true"
202 />
203
204 <!-- Backwards compatibility: "Call log" from Gingerbread and earlier -->
205 <activity-alias android:name="RecentCallsListActivity"
206 android:targetActivity=".DialtactsActivity"
207 android:exported="true"
208 />
209
210 <!-- Backwards compatibility: "Call log" from ICS -->
211 <activity-alias android:name=".activities.CallLogActivity"
212 android:targetActivity=".DialtactsActivity"
213 android:exported="true"
214 />
215
Chiao Chenge1d64772012-10-29 18:32:25 -0700216 <!-- Used to filter contacts list by account -->
217 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800218 android:name="com.android.contacts.common.list.AccountFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700219 android:label="@string/activity_title_contacts_filter"
220 android:theme="@style/ContactListFilterTheme"/>
221
222 <!-- Used to select display and sync groups -->
223 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800224 android:name="com.android.contacts.common.list.CustomContactListFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700225 android:label="@string/custom_list_filter"
226 android:theme="@style/ContactListFilterTheme"/>
227
Brian Attwellbd53eb42015-05-11 17:18:07 -0700228 <activity
229 android:name="com.android.contacts.common.activity.RequestImportVCardPermissionsActivity"
230 android:label="@string/launcherActivityLabel"
231 android:theme="@style/BackgroundOnlyTheme"
232 android:exported="false"/>
233
Chiao Cheng8378c572012-12-03 17:17:52 -0800234 <!-- vCard related -->
235 <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity"
236 android:configChanges="orientation|screenSize|keyboardHidden"
237 android:theme="@style/BackgroundOnlyTheme">
Chiao Cheng8378c572012-12-03 17:17:52 -0800238 </activity>
239
240 <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity"
241 android:configChanges="orientation|screenSize|keyboardHidden"
242 android:theme="@style/BackgroundOnlyTheme">
Chiao Cheng8378c572012-12-03 17:17:52 -0800243 </activity>
244
245 <activity android:name="com.android.contacts.common.vcard.CancelActivity"
246 android:theme="@style/BackgroundOnlyTheme"/>
247
248 <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity"
249 android:theme="@style/BackgroundOnlyTheme"/>
250
251 <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity"
252 android:theme="@style/BackgroundOnlyTheme"/>
253
Wenyi Wang4cae6752016-02-18 20:39:00 -0800254 <activity android:name="com.android.contacts.common.vcard.ShareVCardActivity"
255 android:theme="@style/BackgroundOnlyTheme" />
256
Chiao Cheng8378c572012-12-03 17:17:52 -0800257 <service
258 android:name="com.android.contacts.common.vcard.VCardService"
259 android:exported="false"/>
260 <!-- end vCard related -->
261
Jay Shrauner6e826d72015-11-17 14:41:58 -0800262 <receiver android:name=".calllog.CallLogReceiver">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700263 <intent-filter>
264 <action android:name="android.intent.action.NEW_VOICEMAIL" />
265 <data
266 android:scheme="content"
267 android:host="com.android.voicemail"
268 android:mimeType="vnd.android.cursor.item/voicemail"
269 />
270 </intent-filter>
271 <intent-filter android:priority="100">
272 <action android:name="android.intent.action.BOOT_COMPLETED"/>
273 </intent-filter>
274 </receiver>
275
Yorke Lee1197d332013-08-14 08:55:53 -0700276 <receiver android:name=".interactions.UndemoteOutgoingCallReceiver">
277 <intent-filter>
278 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
279 </intent-filter>
280 </receiver>
281
Chiao Cheng94b10b52012-08-17 16:59:12 -0700282 <service
283 android:name=".calllog.CallLogNotificationsService"
Brandon Maxwell3cb83e02016-03-04 17:33:59 -0800284 android:encryptionAware="true"
Chiao Cheng94b10b52012-08-17 16:59:12 -0700285 android:exported="false"
286 />
Yorke Lee81e0da42013-01-30 14:56:19 -0800287
Brandon Maxwell3cb83e02016-03-04 17:33:59 -0800288 <receiver android:name=".calllog.MissedCallNotificationReceiver"
289 android:encryptionAware="true">
Nancy Chencc42b592016-01-26 14:38:57 -0800290 <intent-filter>
291 <action android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION" />
292 </intent-filter>
293 </receiver>
294
Yorke Lee81e0da42013-01-30 14:56:19 -0800295 <!-- Service to update a contact -->
296 <service
297 android:name=".contact.ContactUpdateService"
298 android:exported="false" />
Santos Cordonc286ae22013-09-03 15:58:07 -0700299
Yorke Lee294dadd2014-06-13 14:54:40 -0700300 <!-- Broadcast receiver that passively listens to location updates -->
301 <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/>
302
303 <!-- IntentService to update the user's current country -->
304 <service android:name="com.android.contacts.common.location.UpdateCountryService"
305 android:exported="false"/>
306
Santos Cordonc286ae22013-09-03 15:58:07 -0700307 <!-- Main in-call UI activity. This is never launched directly
308 from outside the phone app; instead, it's either launched by
309 the OutgoingCallBroadcaster (for outgoing calls), or as the
310 fullScreenIntent of a notification (for incoming calls.) -->
311 <activity android:name="com.android.incallui.InCallActivity"
312 android:theme="@style/Theme.InCallScreen"
Santos Cordone8c54f92013-09-04 15:33:51 -0700313 android:label="@string/phoneAppLabel"
Santos Cordonc286ae22013-09-03 15:58:07 -0700314 android:excludeFromRecents="true"
315 android:launchMode="singleInstance"
Qi Wang40de5982016-02-23 12:57:04 -0800316 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboardHidden"
Santos Cordonc286ae22013-09-03 15:58:07 -0700317 android:exported="false"
Brandon Maxwell6773df02016-01-14 15:31:42 -0800318 android:screenOrientation="nosensor"
Qi Wang40de5982016-02-23 12:57:04 -0800319 android:encryptionAware="true"
320 android:resizeableActivity="true">
Santos Cordonc286ae22013-09-03 15:58:07 -0700321 </activity>
322
Santos Cordon77cecf22014-06-26 14:50:10 -0700323 <service android:name="com.android.incallui.InCallServiceImpl"
Brandon Maxwell6773df02016-01-14 15:31:42 -0800324 android:permission="android.permission.BIND_INCALL_SERVICE"
325 android:encryptionAware="true" >
Santos Cordone9117792015-06-23 15:14:03 -0700326 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true" />
Brandon Maxwell88bbc3e2016-01-27 18:11:47 -0800327 <meta-data android:name="android.telecom.IN_CALL_SERVICE_RINGING"
Brandon Maxwell3c048b92016-02-25 18:24:57 -0800328 android:value="false"/>
Santos Cordon77cecf22014-06-26 14:50:10 -0700329 <intent-filter>
Tyler Gunn9dc924c2014-09-12 09:33:50 -0700330 <action android:name="android.telecom.InCallService"/>
Santos Cordon77cecf22014-06-26 14:50:10 -0700331 </intent-filter>
332 </service>
Anne Rong6fcdcc12015-08-10 17:45:55 -0700333
Brandon Maxwell3cb83e02016-03-04 17:33:59 -0800334 <!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
335 <receiver android:name="com.android.incallui.NotificationBroadcastReceiver"
336 android:encryptionAware="true"
337 android:exported="false" />
338
Anne Rong6fcdcc12015-08-10 17:45:55 -0700339 <provider
340 android:name=".database.FilteredNumberProvider"
Anne Rong7e488f52015-08-19 18:32:08 -0700341 android:authorities="com.android.dialer.database.filterednumberprovider"
Anne Rong6fcdcc12015-08-10 17:45:55 -0700342 android:exported="false"
343 android:multiprocess="false"
344 />
Wenyi Wang4cae6752016-02-18 20:39:00 -0800345
346 <provider
347 android:name="android.support.v4.content.FileProvider"
348 android:authorities="@string/contacts_file_provider_authority"
349 android:grantUriPermissions="true"
350 android:exported="false">
351 <meta-data
352 android:name="android.support.FILE_PROVIDER_PATHS"
353 android:resource="@xml/file_paths" />
354 </provider>
Sarmad Hashmi450a6052016-02-09 18:54:26 -0800355
356 <provider
357 android:name=".database.VoicemailArchiveProvider"
358 android:authorities="com.android.dialer.database.voicemailarchiveprovider"
359 android:exported="false"
360 android:multiprocess="false"
361 />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700362 </application>
363</manifest>