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