blob: bde0775bab041600d6362761424cb8c1aa81cf4b [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"
52 android:supportsRtl="true">
Chiao Cheng94b10b52012-08-17 16:59:12 -070053
Chiao Cheng94b10b52012-08-17 16:59:12 -070054 <!-- The entrance point for Phone UI.
55 stateAlwaysHidden is set to suppress keyboard show up on
56 dialpad screen. -->
57 <activity android:name=".DialtactsActivity"
58 android:label="@string/launcherDialer"
59 android:theme="@style/DialtactsTheme"
60 android:uiOptions="splitActionBarWhenNarrow"
61 android:launchMode="singleTask"
62 android:clearTaskOnLaunch="true"
63 android:icon="@mipmap/ic_launcher_phone"
64 android:screenOrientation="nosensor"
65 android:enabled="@*android:bool/config_voice_capable"
Chiao Cheng94b10b52012-08-17 16:59:12 -070066 android:windowSoftInputMode="stateAlwaysHidden|adjustNothing">
67 <intent-filter>
68 <action android:name="android.intent.action.DIAL" />
69 <category android:name="android.intent.category.DEFAULT" />
70 <category android:name="android.intent.category.BROWSABLE" />
71 <data android:mimeType="vnd.android.cursor.item/phone" />
72 <data android:mimeType="vnd.android.cursor.item/person" />
73 </intent-filter>
74 <intent-filter>
75 <action android:name="android.intent.action.DIAL" />
76 <category android:name="android.intent.category.DEFAULT" />
77 <category android:name="android.intent.category.BROWSABLE" />
78 <data android:scheme="voicemail" />
79 </intent-filter>
80 <intent-filter>
81 <action android:name="android.intent.action.DIAL" />
82 <category android:name="android.intent.category.DEFAULT" />
83 </intent-filter>
84 <intent-filter>
85 <action android:name="android.intent.action.MAIN" />
86 <category android:name="android.intent.category.DEFAULT" />
87 <category android:name="android.intent.category.LAUNCHER" />
88 <category android:name="android.intent.category.BROWSABLE" />
89 </intent-filter>
90 <intent-filter>
91 <action android:name="android.intent.action.VIEW" />
92 <action android:name="android.intent.action.DIAL" />
93 <category android:name="android.intent.category.DEFAULT" />
94 <category android:name="android.intent.category.BROWSABLE" />
95 <data android:scheme="tel" />
96 </intent-filter>
97 <intent-filter>
98 <action android:name="android.intent.action.VIEW" />
99 <category android:name="android.intent.category.DEFAULT" />
100 <category android:name="android.intent.category.BROWSABLE" />
101 <data android:mimeType="vnd.android.cursor.dir/calls" />
102 </intent-filter>
103 <intent-filter>
104 <action android:name="android.intent.action.CALL_BUTTON" />
105 <category android:name="android.intent.category.DEFAULT" />
106 <category android:name="android.intent.category.BROWSABLE" />
107 </intent-filter>
108 <!-- This was never intended to be public, but is here for backward
109 compatibility. Use Intent.ACTION_DIAL instead. -->
110 <intent-filter>
111 <action android:name="com.android.phone.action.TOUCH_DIALER" />
112 <category android:name="android.intent.category.DEFAULT" />
113 <category android:name="android.intent.category.TAB" />
114 </intent-filter>
115 <intent-filter android:label="@string/recentCallsIconLabel">
116 <action android:name="com.android.phone.action.RECENT_CALLS" />
117 <category android:name="android.intent.category.DEFAULT" />
118 <category android:name="android.intent.category.TAB" />
119 </intent-filter>
120 </activity>
121
122 <activity android:name="com.android.dialer.CallDetailActivity"
123 android:label="@string/callDetailTitle"
124 android:theme="@style/CallDetailActivityTheme"
125 android:screenOrientation="portrait"
126 android:icon="@mipmap/ic_launcher_phone"
Chiao Cheng94b10b52012-08-17 16:59:12 -0700127 >
128 <intent-filter>
129 <action android:name="android.intent.action.VIEW"/>
130 <category android:name="android.intent.category.DEFAULT"/>
131 <data android:mimeType="vnd.android.cursor.item/calls"/>
132 </intent-filter>
133 </activity>
134
135 <activity android:name="com.android.contacts.common.test.FragmentTestActivity">
136 <intent-filter>
137 <category android:name="android.intent.category.TEST"/>
138 </intent-filter>
139 </activity>
140
141 <!-- Backwards compatibility: "Phone" from Gingerbread and earlier -->
142 <activity-alias android:name="DialtactsActivity"
143 android:targetActivity=".DialtactsActivity"
144 android:exported="true"
145 />
146
147 <!-- Backwards compatibility: "Call log" from Gingerbread and earlier -->
148 <activity-alias android:name="RecentCallsListActivity"
149 android:targetActivity=".DialtactsActivity"
150 android:exported="true"
151 />
152
153 <!-- Backwards compatibility: "Call log" from ICS -->
154 <activity-alias android:name=".activities.CallLogActivity"
155 android:targetActivity=".DialtactsActivity"
156 android:exported="true"
157 />
158
Chiao Chenge1d64772012-10-29 18:32:25 -0700159 <!-- Used to filter contacts list by account -->
160 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800161 android:name="com.android.contacts.common.list.AccountFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700162 android:label="@string/activity_title_contacts_filter"
163 android:theme="@style/ContactListFilterTheme"/>
164
165 <!-- Used to select display and sync groups -->
166 <activity
Chiao Cheng82d544d2012-11-30 13:32:24 -0800167 android:name="com.android.contacts.common.list.CustomContactListFilterActivity"
Chiao Chenge1d64772012-10-29 18:32:25 -0700168 android:label="@string/custom_list_filter"
169 android:theme="@style/ContactListFilterTheme"/>
170
Chiao Cheng8378c572012-12-03 17:17:52 -0800171 <!-- vCard related -->
172 <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity"
173 android:configChanges="orientation|screenSize|keyboardHidden"
174 android:theme="@style/BackgroundOnlyTheme">
175 <intent-filter>
176 <action android:name="android.intent.action.VIEW"/>
177 <data android:mimeType="text/directory"/>
178 <data android:mimeType="text/vcard"/>
179 <data android:mimeType="text/x-vcard"/>
180 <category android:name="android.intent.category.DEFAULT"/>
181 </intent-filter>
182 </activity>
183
184 <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity"
185 android:configChanges="orientation|screenSize|keyboardHidden"
186 android:theme="@style/BackgroundOnlyTheme">
187 <intent-filter>
188 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
189 <data android:mimeType="text/vcard"/>
190 <data android:mimeType="text/x-vcard"/>
191 <category android:name="android.intent.category.DEFAULT"/>
192 </intent-filter>
193 </activity>
194
195 <activity android:name="com.android.contacts.common.vcard.CancelActivity"
196 android:theme="@style/BackgroundOnlyTheme"/>
197
198 <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity"
199 android:theme="@style/BackgroundOnlyTheme"/>
200
201 <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity"
202 android:theme="@style/BackgroundOnlyTheme"/>
203
204 <service
205 android:name="com.android.contacts.common.vcard.VCardService"
206 android:exported="false"/>
207 <!-- end vCard related -->
208
Chiao Cheng94b10b52012-08-17 16:59:12 -0700209 <receiver android:name=".calllog.CallLogReceiver"
210 android:enabled="@*android:bool/config_voice_capable">
211 <intent-filter>
212 <action android:name="android.intent.action.NEW_VOICEMAIL" />
213 <data
214 android:scheme="content"
215 android:host="com.android.voicemail"
216 android:mimeType="vnd.android.cursor.item/voicemail"
217 />
218 </intent-filter>
219 <intent-filter android:priority="100">
220 <action android:name="android.intent.action.BOOT_COMPLETED"/>
221 </intent-filter>
222 </receiver>
223
224 <service
225 android:name=".calllog.CallLogNotificationsService"
226 android:exported="false"
227 />
Yorke Lee81e0da42013-01-30 14:56:19 -0800228
229 <!-- Service to update a contact -->
230 <service
231 android:name=".contact.ContactUpdateService"
232 android:exported="false" />
Chiao Cheng94b10b52012-08-17 16:59:12 -0700233 </application>
234</manifest>