Merge korg/donut into korg/master
[android/platform/packages/apps/Phone.git] / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2007 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"
18         package="com.android.phone"
19         android:sharedUserId="android.uid.phone"
20         android:sharedUserLabel="@string/dialerIconLabel"
21 >
22
23     <uses-permission android:name="android.permission.BROADCAST_STICKY" />
24     <uses-permission android:name="android.permission.CALL_PHONE" />
25     <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
26     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
27     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
28     <uses-permission android:name="android.permission.READ_CONTACTS" />
29     <uses-permission android:name="android.permission.WRITE_CONTACTS" />
30     <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
31     <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" />
32     <uses-permission android:name="android.permission.ADD_SYSTEM_SERVICE" />
33     <uses-permission android:name="android.permission.VIBRATE" />
34     <uses-permission android:name="android.permission.BLUETOOTH" />
35     <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
36     <uses-permission android:name="android.permission.REORDER_TASKS" />
37     <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
38     <uses-permission android:name="android.permission.WAKE_LOCK" />
39     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
40     <uses-permission android:name="android.permission.STATUS_BAR" />
41     <uses-permission android:name="android.permission.READ_SMS" />
42     <uses-permission android:name="android.permission.WRITE_SMS" />
43     <uses-permission android:name="android.permission.SET_TIME_ZONE" />
44     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
45     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
46     <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
47     <uses-permission android:name="android.permission.DEVICE_POWER" />
48     <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
49     <uses-permission android:name="android.permission.INTERNET" />
50     <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
51     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
52     <uses-permission android:name="android.permission.WRITE_APN_SETTINGS" />
53     <uses-permission android:name="android.permission.BROADCAST_SMS"/>
54     <uses-permission android:name="android.permission.BROADCAST_WAP_PUSH"/>
55
56     <application android:name="PhoneApp"
57                  android:persistent="true"
58                  android:label="@string/dialerIconLabel"
59                  android:icon="@drawable/ic_launcher_phone">
60             <provider android:name="IccProvider"
61                       android:authorities="icc"
62                       android:multiprocess="true"
63                       android:readPermission="android.permission.READ_CONTACTS"
64                       android:writePermission="android.permission.WRITE_CONTACTS" />
65
66         <!-- Dialer UI that only allows emergency calls -->
67         <activity android:name="EmergencyDialer"
68             android:label="@string/emergencyDialerIconLabel"
69             android:screenOrientation="nosensor">
70             <intent-filter>
71                 <action android:name="com.android.phone.EmergencyDialer.DIAL" />
72                 <category android:name="android.intent.category.DEFAULT" />
73             </intent-filter>
74         </activity>
75
76         <activity android:name="ADNList" />
77
78         <activity android:name="SimContacts"
79             android:label="@string/simContacts_title">
80
81             <intent-filter>
82                 <action android:name="android.intent.action.VIEW" />
83                 <category android:name="android.intent.category.DEFAULT" />
84                 <data android:mimeType="vnd.android.cursor.item/sim-contact" />
85             </intent-filter>
86         </activity>
87
88         <activity android:name="FdnList" android:label="@string/fdnListLabel">
89             <intent-filter>
90                 <action android:name="android.intent.action.VIEW" />
91                 <category android:name="android.intent.category.DEFAULT" />
92                 <data android:mimeType="vnd.android.cursor.item/sim-contact" />
93             </intent-filter>
94         </activity>
95
96         <activity android:name="OutgoingCallBroadcaster"
97                 android:permission="android.permission.CALL_PHONE"
98                 android:theme="@android:style/Theme.NoDisplay">
99             <!-- CALL action intent filters, for the various ways
100                  of initiating an outgoing call. -->
101             <intent-filter>
102                 <action android:name="android.intent.action.CALL" />
103                 <category android:name="android.intent.category.DEFAULT" />
104                 <data android:scheme="tel" />
105             </intent-filter>
106             <intent-filter>
107                 <action android:name="android.intent.action.CALL" />
108                 <category android:name="android.intent.category.DEFAULT" />
109                 <data android:scheme="voicemail" />
110             </intent-filter>
111             <intent-filter>
112                 <action android:name="android.intent.action.CALL" />
113                 <category android:name="android.intent.category.DEFAULT" />
114                 <data android:mimeType="vnd.android.cursor.item/phone" />
115                 <data android:mimeType="vnd.android.cursor.item/person" />
116             </intent-filter>
117         </activity>
118
119         <activity-alias android:name="EmergencyOutgoingCallBroadcaster"
120                 android:targetActivity="OutgoingCallBroadcaster"
121                 android:permission="android.permission.CALL_PRIVILEGED"
122                 android:theme="@android:style/Theme.NoDisplay">
123             <intent-filter>
124                 <action android:name="android.intent.action.CALL_EMERGENCY" />
125                 <category android:name="android.intent.category.DEFAULT" />
126                 <data android:scheme="tel" />
127             </intent-filter>
128             <intent-filter>
129                 <action android:name="android.intent.action.CALL_EMERGENCY" />
130                 <category android:name="android.intent.category.DEFAULT" />
131                 <data android:scheme="voicemail" />
132             </intent-filter>
133             <intent-filter>
134                 <action android:name="android.intent.action.CALL_EMERGENCY" />
135                 <category android:name="android.intent.category.DEFAULT" />
136                 <data android:mimeType="vnd.android.cursor.item/phone" />
137                 <data android:mimeType="vnd.android.cursor.item/person" />
138             </intent-filter>
139         </activity-alias>
140
141         <activity-alias android:name="PrivilegedOutgoingCallBroadcaster"
142                 android:targetActivity="OutgoingCallBroadcaster"
143                 android:permission="android.permission.CALL_PRIVILEGED">
144             <intent-filter>
145                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
146                 <category android:name="android.intent.category.DEFAULT" />
147                 <data android:scheme="tel" />
148             </intent-filter>
149             <intent-filter>
150                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
151                 <category android:name="android.intent.category.DEFAULT" />
152                 <data android:scheme="voicemail" />
153             </intent-filter>
154             <intent-filter>
155                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
156                 <category android:name="android.intent.category.DEFAULT" />
157                 <data android:mimeType="vnd.android.cursor.item/phone" />
158                 <data android:mimeType="vnd.android.cursor.item/person" />
159             </intent-filter>
160         </activity-alias>
161
162         <receiver android:name="ProcessOutgoingCallTest" android:exported="false"
163             android:enabled="false">
164             <intent-filter android:priority="1">
165                 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
166                 <category android:name="android.intent.category.DEFAULT" />
167             </intent-filter>
168         </receiver>
169
170         <receiver android:name="OutgoingCallReceiver" android:exported="false">
171             <intent-filter android:priority="-100">
172                 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
173                 <category android:name="android.intent.category.DEFAULT" />
174             </intent-filter>
175         </receiver>
176
177         <activity android:name="InCallScreen"
178             android:theme="@android:style/Theme.NoTitleBar"
179             android:label="@string/phoneIconLabel"
180             android:excludeFromRecents="true"
181             android:launchMode="singleInstance"
182             android:screenOrientation="nosensor"
183             android:exported="false" />
184
185         <!-- general settings -->
186         <activity android:name="Settings" android:label="@string/settings_label">
187             <intent-filter>
188                 <action android:name="android.intent.action.VIEW" />
189                 <action android:name="android.intent.action.MAIN" />
190                 <action android:name="android.settings.DATA_ROAMING_SETTINGS" />
191             </intent-filter>
192         </activity>
193
194         <!-- networks setting -->
195         <!-- service to handle network query requests sent to RIL -->
196         <service android:name="NetworkQueryService" />
197         
198         <activity android:name="NetworkSetting" android:label="@string/networks">
199             <intent-filter>
200                 <action android:name="android.intent.action.MAIN" />
201                 <action android:name="android.settings.NETWORK_OPERATOR_" />
202             </intent-filter>
203         </activity>
204
205         <activity android:name="GsmUmtsOptions"
206             android:label="@string/gsm_umts_options">
207             <intent-filter>
208                 <action android:name="android.intent.action.MAIN" />
209             </intent-filter>
210         </activity>
211
212         <activity android:name="CdmaOptions"
213             android:label="@string/cdma_options">
214             <intent-filter>
215                 <action android:name="android.intent.action.MAIN" />
216             </intent-filter>
217         </activity>
218
219         <activity android:name="CellBroadcastSms"
220             android:label="@string/cell_broadcast_sms">
221             <intent-filter>
222                 <action android:name="android.intent.action.MAIN" />
223             </intent-filter>
224         </activity>
225         
226         <!-- fdn setting -->
227         <activity android:name="FdnSetting" android:label="@string/fdn">
228             <intent-filter>
229                 <action android:name="android.intent.action.MAIN" />
230             </intent-filter>
231         </activity>
232
233         <activity android:name="EnableFdnScreen" android:label="">
234         </activity>
235
236         <!-- SIM PIN setting -->
237         <activity android:name="EnableIccPinScreen" android:label="@string/enable_pin">
238             <intent-filter>
239                 <action android:name="android.intent.action.MAIN" />
240                 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
241             </intent-filter>
242         </activity>
243
244         <activity android:name="ChangeIccPinScreen" android:label="@string/change_pin">
245             <intent-filter>
246                 <action android:name="android.intent.action.MAIN" />
247                 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
248             </intent-filter>
249         </activity>
250
251         <activity android:name="GetPin2Screen" android:label="@string/get_pin2">
252         </activity>
253
254         <activity android:name="EditFdnContactScreen">
255         </activity>
256
257         <activity android:name="DeleteFdnContactScreen" 
258         android:label="@string/delete_fdn_contact">
259         </activity>
260         
261         <activity android:name="DataRoamingReenable" android:label="@string/android:dialog_alert_title"
262             android:theme="@android:style/Theme.Dialog">
263             <intent-filter>
264                 <action android:name="android.intent.action.MAIN" />
265             </intent-filter>
266         </activity>
267
268         <!-- data roaming setting -->
269         <activity android:name="RoamingSetting" android:label="@string/roaming">
270             <intent-filter>
271                 <action android:name="android.intent.action.MAIN" />
272             </intent-filter>
273         </activity>
274         
275         <!-- Emergency Callback Mode screen -->
276         <activity android:name="EmergencyCallbackMode" 
277                 android:label="Emergency Call Back"
278                 android:theme="@style/EmergencyCallBack"
279                 android:launchMode="singleTask"
280                 android:taskAffinity=":EmergencyCallbackMode">
281         </activity>
282
283         <!-- call feature setting -->
284         <activity android:name="CallFeaturesSetting" android:label="@string/call_settings">
285             <intent-filter>
286                 <action android:name="android.intent.action.VIEW" />
287                 <action android:name="android.intent.action.MAIN" />
288                 <action android:name="com.android.phone.CallFeaturesSetting.ADD_VOICEMAIL" />
289             </intent-filter>
290         </activity>
291
292         <!-- emergency call handler, coordinates emergency calls -->
293         <activity android:name="EmergencyCallHandler" android:label="@string/phoneIconLabel"
294             android:excludeFromRecents="true"
295             android:launchMode="singleInstance">
296         </activity>
297         
298         <!-- bluetooth headset service -->
299         <service android:name="BluetoothHeadsetService">
300             <intent-filter>
301                 <action android:name="android.bluetooth.IBluetoothHeadset" />
302             </intent-filter>
303         </service>
304
305         <!-- Broadcast Receiver that will process cdma ERI text updates -->    
306         <receiver android:name="EriTextWidgetProvider" android:label="@string/eri_text_label">
307             <intent-filter>
308                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
309             </intent-filter>
310             <meta-data android:name="android.appwidget.provider" android:resource="@xml/eri_text_appwidget" />
311         </receiver>
312     </application>
313 </manifest>
314