blob: cbe4e1b0b138ec5e7a78ebc5b7641c4e35a36947 [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" />
35 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
36 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070037 <uses-permission android:name="android.permission.INTERNET" />
Yorke Lee1197d332013-08-14 08:55:53 -070038 <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/>
Chiao Cheng94b10b52012-08-17 16:59:12 -070039 <uses-permission android:name="android.permission.NFC" />
40 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
41 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
42 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070043 <uses-permission android:name="android.permission.WAKE_LOCK" />
44 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
45 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
46 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
47 <uses-permission android:name="android.permission.VIBRATE" />
48 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Tyler Gunn54268512014-08-18 16:24:05 -070049 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070050 <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
Yorke Lee2cb39a62014-07-18 16:36:21 -070051 <uses-permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL" />
52 <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070053 <uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK" />
54 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
Chiao Cheng94b10b52012-08-17 16:59:12 -070055 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Evan Charltonb6b31722014-09-15 09:25:39 -070056 <uses-permission android:name="android.permission.BROADCAST_STICKY" />
Andrew Leed04f11f2015-02-12 12:16:07 -080057 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Christine Chen28eb2f12013-10-07 11:44:06 -070058 <!-- This tells the activity manager to not delay any of our activity
59 start requests, even if they happen immediately after the user
60 presses home. -->
61 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070062
63 <application
Alon Albert05de7012013-08-22 11:26:28 -070064 android:name="DialerApplication"
Chiao Cheng94b10b52012-08-17 16:59:12 -070065 android:label="@string/applicationLabel"
Chiao Cheng437afcc2012-11-09 15:18:21 -080066 android:icon="@mipmap/ic_launcher_phone"
Fabrice Di Meglioc341db02013-04-03 21:11:37 -070067 android:hardwareAccelerated="true"
Christine Chen9c1e0652013-05-23 15:40:19 -070068 android:supportsRtl="true"
Alex Klyubin45c14892015-04-02 10:41:18 -070069 android:backupAgent='com.android.dialer.DialerBackupAgent'
Jeff Sharkey21421d82015-11-18 15:35:13 -070070 android:usesCleartextTraffic="false"
71 android:forceDeviceEncrypted="true"
72 android:encryptionAware="true">
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"
88 >
Chiao Cheng94b10b52012-08-17 16:59:12 -070089 <intent-filter>
90 <action android:name="android.intent.action.DIAL" />
91 <category android:name="android.intent.category.DEFAULT" />
92 <category android:name="android.intent.category.BROWSABLE" />
93 <data android:mimeType="vnd.android.cursor.item/phone" />
94 <data android:mimeType="vnd.android.cursor.item/person" />
95 </intent-filter>
96 <intent-filter>
97 <action android:name="android.intent.action.DIAL" />
98 <category android:name="android.intent.category.DEFAULT" />
99 <category android:name="android.intent.category.BROWSABLE" />
100 <data android:scheme="voicemail" />
101 </intent-filter>
102 <intent-filter>
103 <action android:name="android.intent.action.DIAL" />
104 <category android:name="android.intent.category.DEFAULT" />
105 </intent-filter>
106 <intent-filter>
107 <action android:name="android.intent.action.MAIN" />
108 <category android:name="android.intent.category.DEFAULT" />
109 <category android:name="android.intent.category.LAUNCHER" />
110 <category android:name="android.intent.category.BROWSABLE" />
111 </intent-filter>
112 <intent-filter>
113 <action android:name="android.intent.action.VIEW" />
114 <action android:name="android.intent.action.DIAL" />
115 <category android:name="android.intent.category.DEFAULT" />
116 <category android:name="android.intent.category.BROWSABLE" />
117 <data android:scheme="tel" />
118 </intent-filter>
119 <intent-filter>
Nancy Chen019713e2015-07-06 18:25:24 -0700120 <action android:name="android.intent.action.VIEW" />
121 <category android:name="android.intent.category.DEFAULT" />
122 <category android:name="android.intent.category.BROWSABLE" />
123 <data android:mimeType="vnd.android.cursor.dir/calls" />
124 </intent-filter>
125 <intent-filter>
Chiao Cheng94b10b52012-08-17 16:59:12 -0700126 <action android:name="android.intent.action.CALL_BUTTON" />
127 <category android:name="android.intent.category.DEFAULT" />
128 <category android:name="android.intent.category.BROWSABLE" />
129 </intent-filter>
130 <!-- This was never intended to be public, but is here for backward
131 compatibility. Use Intent.ACTION_DIAL instead. -->
132 <intent-filter>
133 <action android:name="com.android.phone.action.TOUCH_DIALER" />
134 <category android:name="android.intent.category.DEFAULT" />
135 <category android:name="android.intent.category.TAB" />
136 </intent-filter>
Andrew Lee4de59fb2015-08-13 15:20:08 -0700137 <intent-filter android:label="@string/callHistoryIconLabel">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700138 <action android:name="com.android.phone.action.RECENT_CALLS" />
139 <category android:name="android.intent.category.DEFAULT" />
140 <category android:name="android.intent.category.TAB" />
141 </intent-filter>
Jorim Jaggida1da5d2014-07-25 22:13:24 +0200142 <meta-data
143 android:name="com.android.keyguard.layout"
144 android:resource="@layout/keyguard_preview" />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700145 </activity>
146
Yorke Leeaf6f1952014-07-14 19:13:16 -0700147 <activity android:name="com.android.dialer.settings.DialerSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700148 android:label="@string/dialer_settings_label"
149 android:parentActivityName="com.android.dialer.DialtactsActivity"
150 android:theme="@style/SettingsStyle"
151 android:exported="false">
Yorke Leeaf6f1952014-07-14 19:13:16 -0700152 </activity>
153
Andrew Lee91cd89c2015-10-28 17:47:42 -0700154 <activity android:name="com.android.dialer.filterednumber.BlockedNumbersSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700155 android:label="@string/manage_blocked_numbers_label"
Anne Ronge78b54c2015-09-28 11:18:42 -0700156 android:parentActivityName="com.android.dialer.settings.DialerSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700157 android:theme="@style/ManageBlockedNumbersStyle"
158 android:exported="false">
Anne Ronge78b54c2015-09-28 11:18:42 -0700159 </activity>
160
Yorke Leec3766332013-07-31 11:13:16 -0700161 <activity android:name="com.android.dialer.calllog.CallLogActivity"
162 android:label="@string/call_log_activity_title"
Yorke Lee86e21f72014-04-02 16:49:38 -0700163 android:theme="@style/DialtactsThemeWithoutActionBarOverlay"
Yorke Leec3766332013-07-31 11:13:16 -0700164 android:icon="@mipmap/ic_launcher_phone">
Yorke Leedfb2eee2013-06-26 18:24:32 -0700165 </activity>
166
Chiao Cheng94b10b52012-08-17 16:59:12 -0700167 <activity android:name="com.android.dialer.CallDetailActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700168 android:label="@string/callDetailTitle"
169 android:theme="@style/CallDetailActivityTheme"
170 android:icon="@mipmap/ic_launcher_phone">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700171 <intent-filter>
172 <action android:name="android.intent.action.VIEW"/>
173 <category android:name="android.intent.category.DEFAULT"/>
174 <data android:mimeType="vnd.android.cursor.item/calls"/>
175 </intent-filter>
176 </activity>
177
178 <activity android:name="com.android.contacts.common.test.FragmentTestActivity">
179 <intent-filter>
180 <category android:name="android.intent.category.TEST"/>
181 </intent-filter>
182 </activity>
183
Tyler Gunn476bd262015-08-10 10:03:37 -0700184 <activity android:name="com.android.contacts.common.dialog.CallSubjectDialog"
185 android:theme="@style/Theme.CallSubjectDialogTheme"
186 android:windowSoftInputMode="stateVisible|adjustResize">
Tyler Gunnc72f4192015-08-05 14:34:28 -0700187 <intent-filter>
188 <action android:name="android.intent.action.VIEW"/>
189 </intent-filter>
190 </activity>
191
Chiao Cheng94b10b52012-08-17 16:59:12 -0700192 <!-- Backwards compatibility: "Phone" from Gingerbread and earlier -->
193 <activity-alias android:name="DialtactsActivity"
194 android:targetActivity=".DialtactsActivity"
195 android:exported="true"
196 />
197
198 <!-- Backwards compatibility: "Call log" from Gingerbread and earlier -->
199 <activity-alias android:name="RecentCallsListActivity"
200 android:targetActivity=".DialtactsActivity"
201 android:exported="true"
202 />
203
204 <!-- Backwards compatibility: "Call log" from ICS -->
205 <activity-alias android:name=".activities.CallLogActivity"
206 android:targetActivity=".DialtactsActivity"
207 android:exported="true"
208 />
209
Chiao Chenge1d64772012-10-29 18:32:25 -0700210 <!-- Used to filter contacts list by account -->
211 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800212 android:name="com.android.contacts.common.list.AccountFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700213 android:label="@string/activity_title_contacts_filter"
214 android:theme="@style/ContactListFilterTheme"/>
215
216 <!-- Used to select display and sync groups -->
217 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800218 android:name="com.android.contacts.common.list.CustomContactListFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700219 android:label="@string/custom_list_filter"
220 android:theme="@style/ContactListFilterTheme"/>
221
Brian Attwellbd53eb42015-05-11 17:18:07 -0700222 <activity
223 android:name="com.android.contacts.common.activity.RequestImportVCardPermissionsActivity"
224 android:label="@string/launcherActivityLabel"
225 android:theme="@style/BackgroundOnlyTheme"
226 android:exported="false"/>
227
Chiao Cheng8378c572012-12-03 17:17:52 -0800228 <!-- vCard related -->
229 <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity"
230 android:configChanges="orientation|screenSize|keyboardHidden"
231 android:theme="@style/BackgroundOnlyTheme">
Chiao Cheng8378c572012-12-03 17:17:52 -0800232 </activity>
233
234 <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity"
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.CancelActivity"
240 android:theme="@style/BackgroundOnlyTheme"/>
241
242 <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity"
243 android:theme="@style/BackgroundOnlyTheme"/>
244
245 <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity"
246 android:theme="@style/BackgroundOnlyTheme"/>
247
Wenyi Wang4cae6752016-02-18 20:39:00 -0800248 <activity android:name="com.android.contacts.common.vcard.ShareVCardActivity"
249 android:theme="@style/BackgroundOnlyTheme" />
250
Chiao Cheng8378c572012-12-03 17:17:52 -0800251 <service
252 android:name="com.android.contacts.common.vcard.VCardService"
253 android:exported="false"/>
254 <!-- end vCard related -->
255
Jay Shrauner6e826d72015-11-17 14:41:58 -0800256 <receiver android:name=".calllog.CallLogReceiver">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700257 <intent-filter>
258 <action android:name="android.intent.action.NEW_VOICEMAIL" />
259 <data
260 android:scheme="content"
261 android:host="com.android.voicemail"
262 android:mimeType="vnd.android.cursor.item/voicemail"
263 />
264 </intent-filter>
265 <intent-filter android:priority="100">
266 <action android:name="android.intent.action.BOOT_COMPLETED"/>
267 </intent-filter>
268 </receiver>
269
Yorke Lee1197d332013-08-14 08:55:53 -0700270 <receiver android:name=".interactions.UndemoteOutgoingCallReceiver">
271 <intent-filter>
272 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
273 </intent-filter>
274 </receiver>
275
Chiao Cheng94b10b52012-08-17 16:59:12 -0700276 <service
277 android:name=".calllog.CallLogNotificationsService"
278 android:exported="false"
279 />
Yorke Lee81e0da42013-01-30 14:56:19 -0800280
Nancy Chencc42b592016-01-26 14:38:57 -0800281 <receiver android:name=".calllog.MissedCallNotificationReceiver">
282 <intent-filter>
283 <action android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION" />
284 </intent-filter>
285 </receiver>
286
Yorke Lee81e0da42013-01-30 14:56:19 -0800287 <!-- Service to update a contact -->
288 <service
289 android:name=".contact.ContactUpdateService"
290 android:exported="false" />
Santos Cordonc286ae22013-09-03 15:58:07 -0700291
Yorke Lee294dadd2014-06-13 14:54:40 -0700292 <!-- Broadcast receiver that passively listens to location updates -->
293 <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/>
294
295 <!-- IntentService to update the user's current country -->
296 <service android:name="com.android.contacts.common.location.UpdateCountryService"
297 android:exported="false"/>
298
Santos Cordonc286ae22013-09-03 15:58:07 -0700299 <!-- Main in-call UI activity. This is never launched directly
300 from outside the phone app; instead, it's either launched by
301 the OutgoingCallBroadcaster (for outgoing calls), or as the
302 fullScreenIntent of a notification (for incoming calls.) -->
303 <activity android:name="com.android.incallui.InCallActivity"
304 android:theme="@style/Theme.InCallScreen"
Santos Cordone8c54f92013-09-04 15:33:51 -0700305 android:label="@string/phoneAppLabel"
Santos Cordonc286ae22013-09-03 15:58:07 -0700306 android:excludeFromRecents="true"
307 android:launchMode="singleInstance"
Qi Wang40de5982016-02-23 12:57:04 -0800308 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboardHidden"
Santos Cordonc286ae22013-09-03 15:58:07 -0700309 android:exported="false"
Brandon Maxwell6773df02016-01-14 15:31:42 -0800310 android:screenOrientation="nosensor"
Qi Wang40de5982016-02-23 12:57:04 -0800311 android:encryptionAware="true"
312 android:resizeableActivity="true">
Santos Cordonc286ae22013-09-03 15:58:07 -0700313 </activity>
314
Santos Cordonc286ae22013-09-03 15:58:07 -0700315 <!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
Yorke Leed9602d02015-05-19 16:36:22 -0700316 <receiver android:name="com.android.incallui.NotificationBroadcastReceiver"
317 android:exported="false" />
Santos Cordonc286ae22013-09-03 15:58:07 -0700318
Santos Cordon77cecf22014-06-26 14:50:10 -0700319 <service android:name="com.android.incallui.InCallServiceImpl"
Brandon Maxwell6773df02016-01-14 15:31:42 -0800320 android:permission="android.permission.BIND_INCALL_SERVICE"
321 android:encryptionAware="true" >
Santos Cordone9117792015-06-23 15:14:03 -0700322 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true" />
Brandon Maxwell88bbc3e2016-01-27 18:11:47 -0800323 <meta-data android:name="android.telecom.IN_CALL_SERVICE_RINGING"
Brandon Maxwell3c048b92016-02-25 18:24:57 -0800324 android:value="false"/>
Santos Cordon77cecf22014-06-26 14:50:10 -0700325 <intent-filter>
Tyler Gunn9dc924c2014-09-12 09:33:50 -0700326 <action android:name="android.telecom.InCallService"/>
Santos Cordon77cecf22014-06-26 14:50:10 -0700327 </intent-filter>
328 </service>
Anne Rong6fcdcc12015-08-10 17:45:55 -0700329
330 <provider
331 android:name=".database.FilteredNumberProvider"
Anne Rong7e488f52015-08-19 18:32:08 -0700332 android:authorities="com.android.dialer.database.filterednumberprovider"
Anne Rong6fcdcc12015-08-10 17:45:55 -0700333 android:exported="false"
334 android:multiprocess="false"
335 />
Wenyi Wang4cae6752016-02-18 20:39:00 -0800336
337 <provider
338 android:name="android.support.v4.content.FileProvider"
339 android:authorities="@string/contacts_file_provider_authority"
340 android:grantUriPermissions="true"
341 android:exported="false">
342 <meta-data
343 android:name="android.support.FILE_PROVIDER_PATHS"
344 android:resource="@xml/file_paths" />
345 </provider>
Sarmad Hashmi450a6052016-02-09 18:54:26 -0800346
347 <provider
348 android:name=".database.VoicemailArchiveProvider"
349 android:authorities="com.android.dialer.database.voicemailarchiveprovider"
350 android:exported="false"
351 android:multiprocess="false"
352 />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700353 </application>
354</manifest>