Don't call Phone.getCdmaEriText on non-CDMA phone.
[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         <!-- A virtual emergency 12 key dialer -->
67         <activity android:name="EmergencyDialer"
68             android:label="@string/emergencyDialerIconLabel">
69             <intent-filter>
70                 <action android:name="com.android.phone.EmergencyDialer.DIAL" />
71                 <category android:name="android.intent.category.DEFAULT" />
72             </intent-filter>
73         </activity>
74
75         <activity android:name="ADNList" />
76
77         <activity android:name="SimContacts"
78             android:label="@string/simContacts_title">
79
80             <intent-filter>
81                 <action android:name="android.intent.action.VIEW" />
82                 <category android:name="android.intent.category.DEFAULT" />
83                 <data android:mimeType="vnd.android.cursor.item/sim-contact" />
84             </intent-filter>
85         </activity>
86
87         <activity android:name="FdnList" android:label="@string/fdnListLabel">
88             <intent-filter>
89                 <action android:name="android.intent.action.VIEW" />
90                 <category android:name="android.intent.category.DEFAULT" />
91                 <data android:mimeType="vnd.android.cursor.item/sim-contact" />
92             </intent-filter>
93         </activity>
94
95         <activity android:name="OutgoingCallBroadcaster"
96                 android:permission="android.permission.CALL_PHONE"
97                 android:theme="@android:style/Theme.NoDisplay">
98             <!-- CALL action intent filters, for the various ways
99                  of initiating an outgoing call. -->
100             <intent-filter>
101                 <action android:name="android.intent.action.CALL" />
102                 <category android:name="android.intent.category.DEFAULT" />
103                 <data android:scheme="tel" />
104             </intent-filter>
105             <intent-filter>
106                 <action android:name="android.intent.action.CALL" />
107                 <category android:name="android.intent.category.DEFAULT" />
108                 <data android:scheme="voicemail" />
109             </intent-filter>
110             <intent-filter>
111                 <action android:name="android.intent.action.CALL" />
112                 <category android:name="android.intent.category.DEFAULT" />
113                 <data android:mimeType="vnd.android.cursor.item/phone" />
114                 <data android:mimeType="vnd.android.cursor.item/person" />
115             </intent-filter>
116         </activity>
117
118         <activity-alias android:name="EmergencyOutgoingCallBroadcaster"
119                 android:targetActivity="OutgoingCallBroadcaster"
120                 android:permission="android.permission.CALL_PRIVILEGED"
121                 android:theme="@android:style/Theme.NoDisplay">
122             <intent-filter>
123                 <action android:name="android.intent.action.CALL_EMERGENCY" />
124                 <category android:name="android.intent.category.DEFAULT" />
125                 <data android:scheme="tel" />
126             </intent-filter>
127             <intent-filter>
128                 <action android:name="android.intent.action.CALL_EMERGENCY" />
129                 <category android:name="android.intent.category.DEFAULT" />
130                 <data android:scheme="voicemail" />
131             </intent-filter>
132             <intent-filter>
133                 <action android:name="android.intent.action.CALL_EMERGENCY" />
134                 <category android:name="android.intent.category.DEFAULT" />
135                 <data android:mimeType="vnd.android.cursor.item/phone" />
136                 <data android:mimeType="vnd.android.cursor.item/person" />
137             </intent-filter>
138         </activity-alias>
139
140         <activity-alias android:name="PrivilegedOutgoingCallBroadcaster"
141                 android:targetActivity="OutgoingCallBroadcaster"
142                 android:permission="android.permission.CALL_PRIVILEGED">
143             <intent-filter>
144                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
145                 <category android:name="android.intent.category.DEFAULT" />
146                 <data android:scheme="tel" />
147             </intent-filter>
148             <intent-filter>
149                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
150                 <category android:name="android.intent.category.DEFAULT" />
151                 <data android:scheme="voicemail" />
152             </intent-filter>
153             <intent-filter>
154                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
155                 <category android:name="android.intent.category.DEFAULT" />
156                 <data android:mimeType="vnd.android.cursor.item/phone" />
157                 <data android:mimeType="vnd.android.cursor.item/person" />
158             </intent-filter>
159         </activity-alias>
160
161         <receiver android:name="ProcessOutgoingCallTest" android:exported="false"
162             android:enabled="false">
163             <intent-filter android:priority="1">
164                 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
165                 <category android:name="android.intent.category.DEFAULT" />
166             </intent-filter>
167         </receiver>
168
169         <receiver android:name="OutgoingCallReceiver" android:exported="false">
170             <intent-filter android:priority="-100">
171                 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
172                 <category android:name="android.intent.category.DEFAULT" />
173             </intent-filter>
174         </receiver>
175
176         <activity android:name="InCallScreen"
177             android:theme="@android:style/Theme.NoTitleBar"
178             android:label="@string/phoneIconLabel"
179             android:excludeFromRecents="true"
180             android:launchMode="singleInstance"
181             android:screenOrientation="nosensor"
182             android:exported="false" />
183
184         <!-- general settings -->
185         <activity android:name="Settings" android:label="@string/settings_label">
186             <intent-filter>
187                 <action android:name="android.intent.action.VIEW" />
188                 <action android:name="android.intent.action.MAIN" />
189                 <action android:name="android.settings.DATA_ROAMING_SETTINGS" />
190             </intent-filter>
191         </activity>
192
193         <!-- networks setting -->
194         <!-- service to handle network query requests sent to RIL -->
195         <service android:name="NetworkQueryService" />
196         
197         <activity android:name="NetworkSetting" android:label="@string/networks">
198             <intent-filter>
199                 <action android:name="android.intent.action.MAIN" />
200                 <action android:name="android.settings.NETWORK_OPERATOR_" />
201             </intent-filter>
202         </activity>
203
204         <activity android:name="GsmUmtsOptions"
205             android:label="@string/gsm_umts_options">
206             <intent-filter>
207                 <action android:name="android.intent.action.MAIN" />
208             </intent-filter>
209         </activity>
210
211         <activity android:name="CdmaOptions"
212             android:label="@string/cdma_options">
213             <intent-filter>
214                 <action android:name="android.intent.action.MAIN" />
215             </intent-filter>
216         </activity>
217
218         <activity android:name="CellBroadcastSms"
219             android:label="@string/cell_broadcast_sms">
220             <intent-filter>
221                 <action android:name="android.intent.action.MAIN" />
222             </intent-filter>
223         </activity>
224         
225         <!-- fdn setting -->
226         <activity android:name="FdnSetting" android:label="@string/fdn">
227             <intent-filter>
228                 <action android:name="android.intent.action.MAIN" />
229             </intent-filter>
230         </activity>
231
232         <activity android:name="EnableFdnScreen" android:label="">
233         </activity>
234
235         <!-- SIM PIN setting -->
236         <activity android:name="EnableIccPinScreen" android:label="@string/enable_pin">
237             <intent-filter>
238                 <action android:name="android.intent.action.MAIN" />
239                 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
240             </intent-filter>
241         </activity>
242
243         <activity android:name="ChangeIccPinScreen" android:label="@string/change_pin">
244             <intent-filter>
245                 <action android:name="android.intent.action.MAIN" />
246                 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
247             </intent-filter>
248         </activity>
249
250         <activity android:name="GetPin2Screen" android:label="@string/get_pin2">
251         </activity>
252
253         <activity android:name="EditFdnContactScreen">
254         </activity>
255
256         <activity android:name="DeleteFdnContactScreen" 
257         android:label="@string/delete_fdn_contact">
258         </activity>
259         
260         <activity android:name="DataRoamingReenable" android:label="@string/android:dialog_alert_title"
261             android:theme="@android:style/Theme.Dialog">
262             <intent-filter>
263                 <action android:name="android.intent.action.MAIN" />
264             </intent-filter>
265         </activity>
266
267         <!-- data roaming setting -->
268         <activity android:name="RoamingSetting" android:label="@string/roaming">
269             <intent-filter>
270                 <action android:name="android.intent.action.MAIN" />
271             </intent-filter>
272         </activity>
273         
274         <!-- Emergency Callback Mode screen -->
275         <activity android:name="EmergencyCallbackMode" 
276                 android:label="Emergency Call Back"
277                 android:theme="@style/EmergencyCallBack"
278                 android:launchMode="singleTask"
279                 android:taskAffinity=":EmergencyCallbackMode">
280         </activity>
281
282         <!-- call feature setting -->
283         <activity android:name="CallFeaturesSetting" android:label="@string/call_settings">
284             <intent-filter>
285                 <action android:name="android.intent.action.VIEW" />
286                 <action android:name="android.intent.action.MAIN" />
287                 <action android:name="com.android.phone.CallFeaturesSetting.ADD_VOICEMAIL" />
288             </intent-filter>
289         </activity>
290
291         <!-- emergency call handler, coordinates emergency calls -->
292         <activity android:name="EmergencyCallHandler" android:label="@string/phoneIconLabel"
293             android:excludeFromRecents="true"
294             android:launchMode="singleInstance">
295         </activity>
296         
297         <!-- bluetooth headset service -->
298         <service android:name="BluetoothHeadsetService">
299             <intent-filter>
300                 <action android:name="android.bluetooth.IBluetoothHeadset" />
301             </intent-filter>
302         </service>
303
304         <!-- Broadcast Receiver that will process cdma ERI text updates -->    
305         <receiver android:name="EriTextWidgetProvider" android:label="@string/eri_text_label">
306             <intent-filter>
307                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
308             </intent-filter>
309             <meta-data android:name="android.appwidget.provider" android:resource="@xml/eri_text_appwidget" />
310         </receiver>
311     </application>
312 </manifest>
313