blob: 6127a5af298276d9364f3572885b108196425502 [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"
Yorke Leebb8cedc2015-10-28 11:10:19 -070020 android:versionCode="20302"
21 android:versionName="2.3.02">
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'
70 android:usesCleartextTraffic="false">
Christine Chen9c1e0652013-05-23 15:40:19 -070071
72 <meta-data android:name="com.google.android.backup.api_key"
73 android:value="AEdPqrEAAAAIBXgtCEKQ6W0PXVnW-ZVia2KmlV2AxsTw3GjAeQ" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070074
Chiao Cheng94b10b52012-08-17 16:59:12 -070075 <!-- The entrance point for Phone UI.
76 stateAlwaysHidden is set to suppress keyboard show up on
77 dialpad screen. -->
78 <activity android:name=".DialtactsActivity"
Jay Shraunerbf8b4b92014-09-03 15:12:16 -070079 android:label="@string/launcherActivityLabel"
Yorke Leebe10b412014-04-23 19:14:12 -070080 android:theme="@style/DialtactsActivityTheme"
Chiao Cheng94b10b52012-08-17 16:59:12 -070081 android:launchMode="singleTask"
82 android:clearTaskOnLaunch="true"
83 android:icon="@mipmap/ic_launcher_phone"
Chiao Cheng94b10b52012-08-17 16:59:12 -070084 android:enabled="@*android:bool/config_voice_capable"
Chiao Cheng94b10b52012-08-17 16:59:12 -070085 android:windowSoftInputMode="stateAlwaysHidden|adjustNothing">
86 <intent-filter>
87 <action android:name="android.intent.action.DIAL" />
88 <category android:name="android.intent.category.DEFAULT" />
89 <category android:name="android.intent.category.BROWSABLE" />
90 <data android:mimeType="vnd.android.cursor.item/phone" />
91 <data android:mimeType="vnd.android.cursor.item/person" />
92 </intent-filter>
93 <intent-filter>
94 <action android:name="android.intent.action.DIAL" />
95 <category android:name="android.intent.category.DEFAULT" />
96 <category android:name="android.intent.category.BROWSABLE" />
97 <data android:scheme="voicemail" />
98 </intent-filter>
99 <intent-filter>
100 <action android:name="android.intent.action.DIAL" />
101 <category android:name="android.intent.category.DEFAULT" />
102 </intent-filter>
103 <intent-filter>
104 <action android:name="android.intent.action.MAIN" />
105 <category android:name="android.intent.category.DEFAULT" />
106 <category android:name="android.intent.category.LAUNCHER" />
107 <category android:name="android.intent.category.BROWSABLE" />
108 </intent-filter>
109 <intent-filter>
110 <action android:name="android.intent.action.VIEW" />
111 <action android:name="android.intent.action.DIAL" />
112 <category android:name="android.intent.category.DEFAULT" />
113 <category android:name="android.intent.category.BROWSABLE" />
114 <data android:scheme="tel" />
115 </intent-filter>
116 <intent-filter>
Nancy Chen019713e2015-07-06 18:25:24 -0700117 <action android:name="android.intent.action.VIEW" />
118 <category android:name="android.intent.category.DEFAULT" />
119 <category android:name="android.intent.category.BROWSABLE" />
120 <data android:mimeType="vnd.android.cursor.dir/calls" />
121 </intent-filter>
122 <intent-filter>
Chiao Cheng94b10b52012-08-17 16:59:12 -0700123 <action android:name="android.intent.action.CALL_BUTTON" />
124 <category android:name="android.intent.category.DEFAULT" />
125 <category android:name="android.intent.category.BROWSABLE" />
126 </intent-filter>
127 <!-- This was never intended to be public, but is here for backward
128 compatibility. Use Intent.ACTION_DIAL instead. -->
129 <intent-filter>
130 <action android:name="com.android.phone.action.TOUCH_DIALER" />
131 <category android:name="android.intent.category.DEFAULT" />
132 <category android:name="android.intent.category.TAB" />
133 </intent-filter>
Andrew Lee4de59fb2015-08-13 15:20:08 -0700134 <intent-filter android:label="@string/callHistoryIconLabel">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700135 <action android:name="com.android.phone.action.RECENT_CALLS" />
136 <category android:name="android.intent.category.DEFAULT" />
137 <category android:name="android.intent.category.TAB" />
138 </intent-filter>
Jorim Jaggida1da5d2014-07-25 22:13:24 +0200139 <meta-data
140 android:name="com.android.keyguard.layout"
141 android:resource="@layout/keyguard_preview" />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700142 </activity>
143
Yorke Leeaf6f1952014-07-14 19:13:16 -0700144 <activity android:name="com.android.dialer.settings.DialerSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700145 android:label="@string/dialer_settings_label"
146 android:parentActivityName="com.android.dialer.DialtactsActivity"
147 android:theme="@style/SettingsStyle"
148 android:exported="false">
Yorke Leeaf6f1952014-07-14 19:13:16 -0700149 </activity>
150
Andrew Lee91cd89c2015-10-28 17:47:42 -0700151 <activity android:name="com.android.dialer.filterednumber.BlockedNumbersSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700152 android:label="@string/manage_blocked_numbers_label"
Anne Ronge78b54c2015-09-28 11:18:42 -0700153 android:parentActivityName="com.android.dialer.settings.DialerSettingsActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700154 android:theme="@style/ManageBlockedNumbersStyle"
155 android:exported="false">
Anne Ronge78b54c2015-09-28 11:18:42 -0700156 </activity>
157
Yorke Leec3766332013-07-31 11:13:16 -0700158 <activity android:name="com.android.dialer.calllog.CallLogActivity"
159 android:label="@string/call_log_activity_title"
Yorke Lee86e21f72014-04-02 16:49:38 -0700160 android:theme="@style/DialtactsThemeWithoutActionBarOverlay"
Yorke Leec3766332013-07-31 11:13:16 -0700161 android:icon="@mipmap/ic_launcher_phone">
Yorke Leedfb2eee2013-06-26 18:24:32 -0700162 </activity>
163
Chiao Cheng94b10b52012-08-17 16:59:12 -0700164 <activity android:name="com.android.dialer.CallDetailActivity"
Andrew Lee3663afe2015-10-04 01:31:28 -0700165 android:label="@string/callDetailTitle"
166 android:theme="@style/CallDetailActivityTheme"
167 android:icon="@mipmap/ic_launcher_phone">
Chiao Cheng94b10b52012-08-17 16:59:12 -0700168 <intent-filter>
169 <action android:name="android.intent.action.VIEW"/>
170 <category android:name="android.intent.category.DEFAULT"/>
171 <data android:mimeType="vnd.android.cursor.item/calls"/>
172 </intent-filter>
173 </activity>
174
175 <activity android:name="com.android.contacts.common.test.FragmentTestActivity">
176 <intent-filter>
177 <category android:name="android.intent.category.TEST"/>
178 </intent-filter>
179 </activity>
180
Tyler Gunn476bd262015-08-10 10:03:37 -0700181 <activity android:name="com.android.contacts.common.dialog.CallSubjectDialog"
182 android:theme="@style/Theme.CallSubjectDialogTheme"
183 android:windowSoftInputMode="stateVisible|adjustResize">
Tyler Gunnc72f4192015-08-05 14:34:28 -0700184 <intent-filter>
185 <action android:name="android.intent.action.VIEW"/>
186 </intent-filter>
187 </activity>
188
Chiao Cheng94b10b52012-08-17 16:59:12 -0700189 <!-- Backwards compatibility: "Phone" from Gingerbread and earlier -->
190 <activity-alias android:name="DialtactsActivity"
191 android:targetActivity=".DialtactsActivity"
192 android:exported="true"
193 />
194
195 <!-- Backwards compatibility: "Call log" from Gingerbread and earlier -->
196 <activity-alias android:name="RecentCallsListActivity"
197 android:targetActivity=".DialtactsActivity"
198 android:exported="true"
199 />
200
201 <!-- Backwards compatibility: "Call log" from ICS -->
202 <activity-alias android:name=".activities.CallLogActivity"
203 android:targetActivity=".DialtactsActivity"
204 android:exported="true"
205 />
206
Chiao Chenge1d64772012-10-29 18:32:25 -0700207 <!-- Used to filter contacts list by account -->
208 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800209 android:name="com.android.contacts.common.list.AccountFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700210 android:label="@string/activity_title_contacts_filter"
211 android:theme="@style/ContactListFilterTheme"/>
212
213 <!-- Used to select display and sync groups -->
214 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800215 android:name="com.android.contacts.common.list.CustomContactListFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700216 android:label="@string/custom_list_filter"
217 android:theme="@style/ContactListFilterTheme"/>
218
Brian Attwellbd53eb42015-05-11 17:18:07 -0700219 <activity
220 android:name="com.android.contacts.common.activity.RequestImportVCardPermissionsActivity"
221 android:label="@string/launcherActivityLabel"
222 android:theme="@style/BackgroundOnlyTheme"
223 android:exported="false"/>
224
Chiao Cheng8378c572012-12-03 17:17:52 -0800225 <!-- vCard related -->
226 <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity"
227 android:configChanges="orientation|screenSize|keyboardHidden"
228 android:theme="@style/BackgroundOnlyTheme">
Chiao Cheng8378c572012-12-03 17:17:52 -0800229 </activity>
230
231 <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity"
232 android:configChanges="orientation|screenSize|keyboardHidden"
233 android:theme="@style/BackgroundOnlyTheme">
Chiao Cheng8378c572012-12-03 17:17:52 -0800234 </activity>
235
236 <activity android:name="com.android.contacts.common.vcard.CancelActivity"
237 android:theme="@style/BackgroundOnlyTheme"/>
238
239 <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity"
240 android:theme="@style/BackgroundOnlyTheme"/>
241
242 <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity"
243 android:theme="@style/BackgroundOnlyTheme"/>
244
245 <service
246 android:name="com.android.contacts.common.vcard.VCardService"
247 android:exported="false"/>
248 <!-- end vCard related -->
249
Chiao Cheng94b10b52012-08-17 16:59:12 -0700250 <receiver android:name=".calllog.CallLogReceiver"
251 android:enabled="@*android:bool/config_voice_capable">
252 <intent-filter>
253 <action android:name="android.intent.action.NEW_VOICEMAIL" />
254 <data
255 android:scheme="content"
256 android:host="com.android.voicemail"
257 android:mimeType="vnd.android.cursor.item/voicemail"
258 />
259 </intent-filter>
260 <intent-filter android:priority="100">
261 <action android:name="android.intent.action.BOOT_COMPLETED"/>
262 </intent-filter>
263 </receiver>
264
Yorke Lee1197d332013-08-14 08:55:53 -0700265 <receiver android:name=".interactions.UndemoteOutgoingCallReceiver">
266 <intent-filter>
267 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
268 </intent-filter>
269 </receiver>
270
Chiao Cheng94b10b52012-08-17 16:59:12 -0700271 <service
272 android:name=".calllog.CallLogNotificationsService"
273 android:exported="false"
274 />
Yorke Lee81e0da42013-01-30 14:56:19 -0800275
276 <!-- Service to update a contact -->
277 <service
278 android:name=".contact.ContactUpdateService"
279 android:exported="false" />
Santos Cordonc286ae22013-09-03 15:58:07 -0700280
Yorke Lee294dadd2014-06-13 14:54:40 -0700281 <!-- Broadcast receiver that passively listens to location updates -->
282 <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/>
283
284 <!-- IntentService to update the user's current country -->
285 <service android:name="com.android.contacts.common.location.UpdateCountryService"
286 android:exported="false"/>
287
Santos Cordonc286ae22013-09-03 15:58:07 -0700288 <!-- Main in-call UI activity. This is never launched directly
289 from outside the phone app; instead, it's either launched by
290 the OutgoingCallBroadcaster (for outgoing calls), or as the
291 fullScreenIntent of a notification (for incoming calls.) -->
292 <activity android:name="com.android.incallui.InCallActivity"
293 android:theme="@style/Theme.InCallScreen"
Santos Cordone8c54f92013-09-04 15:33:51 -0700294 android:label="@string/phoneAppLabel"
Santos Cordonc286ae22013-09-03 15:58:07 -0700295 android:excludeFromRecents="true"
296 android:launchMode="singleInstance"
Santos Cordonc286ae22013-09-03 15:58:07 -0700297 android:configChanges="keyboardHidden"
298 android:exported="false"
Tyler Gunn838e9902014-08-22 07:44:59 -0700299 android:screenOrientation="nosensor" >
Santos Cordonc286ae22013-09-03 15:58:07 -0700300 </activity>
301
Santos Cordonc286ae22013-09-03 15:58:07 -0700302 <!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
Yorke Leed9602d02015-05-19 16:36:22 -0700303 <receiver android:name="com.android.incallui.NotificationBroadcastReceiver"
304 android:exported="false" />
Santos Cordonc286ae22013-09-03 15:58:07 -0700305
Santos Cordon77cecf22014-06-26 14:50:10 -0700306 <service android:name="com.android.incallui.InCallServiceImpl"
Tyler Gunn54268512014-08-18 16:24:05 -0700307 android:permission="android.permission.BIND_INCALL_SERVICE" >
Santos Cordone9117792015-06-23 15:14:03 -0700308 <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true" />
Santos Cordon77cecf22014-06-26 14:50:10 -0700309 <intent-filter>
Tyler Gunn9dc924c2014-09-12 09:33:50 -0700310 <action android:name="android.telecom.InCallService"/>
Santos Cordon77cecf22014-06-26 14:50:10 -0700311 </intent-filter>
312 </service>
Anne Rong6fcdcc12015-08-10 17:45:55 -0700313
314 <provider
315 android:name=".database.FilteredNumberProvider"
Anne Rong7e488f52015-08-19 18:32:08 -0700316 android:authorities="com.android.dialer.database.filterednumberprovider"
Anne Rong6fcdcc12015-08-10 17:45:55 -0700317 android:exported="false"
318 android:multiprocess="false"
319 />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700320 </application>
321</manifest>