blob: 273429ca63648b2a7e18834b38f0abef575d7578 [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"
Chiao Cheng107c6e02012-10-24 17:37:20 -070018 package="com.android.dialer">
Chiao Cheng94b10b52012-08-17 16:59:12 -070019
20 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
21 <uses-permission android:name="android.permission.READ_CONTACTS" />
22 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
23 <uses-permission android:name="android.permission.READ_CALL_LOG" />
24 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
25 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
26 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
27 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
28 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070029 <uses-permission android:name="android.permission.INTERNET" />
30 <uses-permission android:name="android.permission.NFC" />
31 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
32 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
33 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070034 <uses-permission android:name="android.permission.WAKE_LOCK" />
35 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
36 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
37 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
38 <uses-permission android:name="android.permission.VIBRATE" />
39 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
40 <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
41 <uses-permission android:name="com.android.voicemail.permission.READ_WRITE_ALL_VOICEMAIL" />
42 <uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK" />
43 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
44 <!-- allow broadcasting secret code intents that reboot the phone -->
45 <uses-permission android:name="android.permission.REBOOT" />
46 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
47
48 <application
49 android:label="@string/applicationLabel"
Chiao Cheng437afcc2012-11-09 15:18:21 -080050 android:icon="@mipmap/ic_launcher_phone"
Fabrice Di Meglioc341db02013-04-03 21:11:37 -070051 android:hardwareAccelerated="true"
Christine Chen9c1e0652013-05-23 15:40:19 -070052 android:supportsRtl="true"
53 android:backupAgent='com.android.dialer.DialerBackupAgent'>
54
55 <meta-data android:name="com.google.android.backup.api_key"
56 android:value="AEdPqrEAAAAIBXgtCEKQ6W0PXVnW-ZVia2KmlV2AxsTw3GjAeQ" />
Chiao Cheng94b10b52012-08-17 16:59:12 -070057
Chiao Cheng94b10b52012-08-17 16:59:12 -070058 <!-- The entrance point for Phone UI.
59 stateAlwaysHidden is set to suppress keyboard show up on
60 dialpad screen. -->
61 <activity android:name=".DialtactsActivity"
62 android:label="@string/launcherDialer"
63 android:theme="@style/DialtactsTheme"
64 android:uiOptions="splitActionBarWhenNarrow"
65 android:launchMode="singleTask"
66 android:clearTaskOnLaunch="true"
67 android:icon="@mipmap/ic_launcher_phone"
68 android:screenOrientation="nosensor"
69 android:enabled="@*android:bool/config_voice_capable"
Chiao Cheng94b10b52012-08-17 16:59:12 -070070 android:windowSoftInputMode="stateAlwaysHidden|adjustNothing">
71 <intent-filter>
72 <action android:name="android.intent.action.DIAL" />
73 <category android:name="android.intent.category.DEFAULT" />
74 <category android:name="android.intent.category.BROWSABLE" />
75 <data android:mimeType="vnd.android.cursor.item/phone" />
76 <data android:mimeType="vnd.android.cursor.item/person" />
77 </intent-filter>
78 <intent-filter>
79 <action android:name="android.intent.action.DIAL" />
80 <category android:name="android.intent.category.DEFAULT" />
81 <category android:name="android.intent.category.BROWSABLE" />
82 <data android:scheme="voicemail" />
83 </intent-filter>
84 <intent-filter>
85 <action android:name="android.intent.action.DIAL" />
86 <category android:name="android.intent.category.DEFAULT" />
87 </intent-filter>
88 <intent-filter>
89 <action android:name="android.intent.action.MAIN" />
90 <category android:name="android.intent.category.DEFAULT" />
91 <category android:name="android.intent.category.LAUNCHER" />
92 <category android:name="android.intent.category.BROWSABLE" />
93 </intent-filter>
94 <intent-filter>
95 <action android:name="android.intent.action.VIEW" />
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="tel" />
100 </intent-filter>
101 <intent-filter>
102 <action android:name="android.intent.action.VIEW" />
103 <category android:name="android.intent.category.DEFAULT" />
104 <category android:name="android.intent.category.BROWSABLE" />
105 <data android:mimeType="vnd.android.cursor.dir/calls" />
106 </intent-filter>
107 <intent-filter>
108 <action android:name="android.intent.action.CALL_BUTTON" />
109 <category android:name="android.intent.category.DEFAULT" />
110 <category android:name="android.intent.category.BROWSABLE" />
111 </intent-filter>
112 <!-- This was never intended to be public, but is here for backward
113 compatibility. Use Intent.ACTION_DIAL instead. -->
114 <intent-filter>
115 <action android:name="com.android.phone.action.TOUCH_DIALER" />
116 <category android:name="android.intent.category.DEFAULT" />
117 <category android:name="android.intent.category.TAB" />
118 </intent-filter>
119 <intent-filter android:label="@string/recentCallsIconLabel">
120 <action android:name="com.android.phone.action.RECENT_CALLS" />
121 <category android:name="android.intent.category.DEFAULT" />
122 <category android:name="android.intent.category.TAB" />
123 </intent-filter>
124 </activity>
125
Yorke Leedfb2eee2013-06-26 18:24:32 -0700126 <activity android:name=".NewDialtactsActivity"
127 android:label="New Dialer"
128 android:theme="@style/NewDialtactsTheme"
129 android:uiOptions="splitActionBarWhenNarrow"
130 android:launchMode="singleTask"
131 android:clearTaskOnLaunch="true"
132 android:icon="@mipmap/ic_launcher_phone"
133 android:screenOrientation="nosensor"
134 android:enabled="@*android:bool/config_voice_capable"
135 android:windowSoftInputMode="stateAlwaysHidden|adjustNothing">
136
137 <!--
138 <intent-filter>
139 <action android:name="android.intent.action.DIAL" />
140 <category android:name="android.intent.category.DEFAULT" />
141 <category android:name="android.intent.category.BROWSABLE" />
142 <data android:mimeType="vnd.android.cursor.item/phone" />
143 <data android:mimeType="vnd.android.cursor.item/person" />
144 </intent-filter>
145 <intent-filter>
146 <action android:name="android.intent.action.DIAL" />
147 <category android:name="android.intent.category.DEFAULT" />
148 <category android:name="android.intent.category.BROWSABLE" />
149 <data android:scheme="voicemail" />
150 </intent-filter>
151 <intent-filter>
152 <action android:name="android.intent.action.DIAL" />
153 <category android:name="android.intent.category.DEFAULT" />
154 </intent-filter>
155 <intent-filter>
156 <action android:name="android.intent.action.MAIN" />
157 <category android:name="android.intent.category.DEFAULT" />
158 <category android:name="android.intent.category.LAUNCHER" />
159 <category android:name="android.intent.category.BROWSABLE" />
160 </intent-filter>
161 <intent-filter>
162 <action android:name="android.intent.action.VIEW" />
163 <action android:name="android.intent.action.DIAL" />
164 <category android:name="android.intent.category.DEFAULT" />
165 <category android:name="android.intent.category.BROWSABLE" />
166 <data android:scheme="tel" />
167 </intent-filter>
168 <intent-filter>
169 <action android:name="android.intent.action.CALL_BUTTON" />
170 <category android:name="android.intent.category.DEFAULT" />
171 <category android:name="android.intent.category.BROWSABLE" />
172 </intent-filter>
173 <intent-filter>
174 <action android:name="com.android.phone.action.TOUCH_DIALER" />
175 <category android:name="android.intent.category.DEFAULT" />
176 <category android:name="android.intent.category.TAB" />
177 </intent-filter>
178 -->
179
180 </activity>
181
182 <activity android:name="com.android.dialer.calllog.NewCallLogActivity"
183 android:label="@string/recentCallsIconLabel"
184 android:theme="@style/NewDialtactsTheme"
185 android:screenOrientation="portrait"
186 android:icon="@mipmap/ic_launcher_phone">
187 </activity>
188
Chiao Cheng94b10b52012-08-17 16:59:12 -0700189 <activity android:name="com.android.dialer.CallDetailActivity"
190 android:label="@string/callDetailTitle"
191 android:theme="@style/CallDetailActivityTheme"
192 android:screenOrientation="portrait"
193 android:icon="@mipmap/ic_launcher_phone"
Chiao Cheng94b10b52012-08-17 16:59:12 -0700194 >
195 <intent-filter>
196 <action android:name="android.intent.action.VIEW"/>
197 <category android:name="android.intent.category.DEFAULT"/>
198 <data android:mimeType="vnd.android.cursor.item/calls"/>
199 </intent-filter>
200 </activity>
201
202 <activity android:name="com.android.contacts.common.test.FragmentTestActivity">
203 <intent-filter>
204 <category android:name="android.intent.category.TEST"/>
205 </intent-filter>
206 </activity>
207
208 <!-- Backwards compatibility: "Phone" from Gingerbread and earlier -->
209 <activity-alias android:name="DialtactsActivity"
210 android:targetActivity=".DialtactsActivity"
211 android:exported="true"
212 />
213
214 <!-- Backwards compatibility: "Call log" from Gingerbread and earlier -->
215 <activity-alias android:name="RecentCallsListActivity"
216 android:targetActivity=".DialtactsActivity"
217 android:exported="true"
218 />
219
220 <!-- Backwards compatibility: "Call log" from ICS -->
221 <activity-alias android:name=".activities.CallLogActivity"
222 android:targetActivity=".DialtactsActivity"
223 android:exported="true"
224 />
225
Chiao Chenge1d64772012-10-29 18:32:25 -0700226 <!-- Used to filter contacts list by account -->
227 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800228 android:name="com.android.contacts.common.list.AccountFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700229 android:label="@string/activity_title_contacts_filter"
230 android:theme="@style/ContactListFilterTheme"/>
231
232 <!-- Used to select display and sync groups -->
233 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800234 android:name="com.android.contacts.common.list.CustomContactListFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700235 android:label="@string/custom_list_filter"
236 android:theme="@style/ContactListFilterTheme"/>
237
Chiao Cheng8378c572012-12-03 17:17:52 -0800238 <!-- vCard related -->
239 <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity"
240 android:configChanges="orientation|screenSize|keyboardHidden"
241 android:theme="@style/BackgroundOnlyTheme">
242 <intent-filter>
243 <action android:name="android.intent.action.VIEW"/>
244 <data android:mimeType="text/directory"/>
245 <data android:mimeType="text/vcard"/>
246 <data android:mimeType="text/x-vcard"/>
247 <category android:name="android.intent.category.DEFAULT"/>
248 </intent-filter>
249 </activity>
250
251 <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity"
252 android:configChanges="orientation|screenSize|keyboardHidden"
253 android:theme="@style/BackgroundOnlyTheme">
254 <intent-filter>
255 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
256 <data android:mimeType="text/vcard"/>
257 <data android:mimeType="text/x-vcard"/>
258 <category android:name="android.intent.category.DEFAULT"/>
259 </intent-filter>
260 </activity>
261
262 <activity android:name="com.android.contacts.common.vcard.CancelActivity"
263 android:theme="@style/BackgroundOnlyTheme"/>
264
265 <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity"
266 android:theme="@style/BackgroundOnlyTheme"/>
267
268 <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity"
269 android:theme="@style/BackgroundOnlyTheme"/>
270
271 <service
272 android:name="com.android.contacts.common.vcard.VCardService"
273 android:exported="false"/>
274 <!-- end vCard related -->
275
Chiao Cheng94b10b52012-08-17 16:59:12 -0700276 <receiver android:name=".calllog.CallLogReceiver"
277 android:enabled="@*android:bool/config_voice_capable">
278 <intent-filter>
279 <action android:name="android.intent.action.NEW_VOICEMAIL" />
280 <data
281 android:scheme="content"
282 android:host="com.android.voicemail"
283 android:mimeType="vnd.android.cursor.item/voicemail"
284 />
285 </intent-filter>
286 <intent-filter android:priority="100">
287 <action android:name="android.intent.action.BOOT_COMPLETED"/>
288 </intent-filter>
289 </receiver>
290
291 <service
292 android:name=".calllog.CallLogNotificationsService"
293 android:exported="false"
294 />
Yorke Lee81e0da42013-01-30 14:56:19 -0800295
296 <!-- Service to update a contact -->
297 <service
298 android:name=".contact.ContactUpdateService"
299 android:exported="false" />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700300 </application>
301</manifest>