A bunch of cleanups around "additional settings"
[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         coreApp="true"
20         android:sharedUserId="android.uid.phone"
21         android:sharedUserLabel="@string/phoneAppLabel"
22 >
23
24     <original-package android:name="com.android.phone" />
25
26     <protected-broadcast android:name="android.intent.action.SERVICE_STATE" />
27     <protected-broadcast android:name="android.intent.action.RADIO_TECHNOLOGY" />
28     <protected-broadcast android:name="android.intent.action.EMERGENCY_CALLBACK_MODE_CHANGED" />
29     <protected-broadcast android:name="android.intent.action.SIG_STR" />
30     <protected-broadcast android:name="android.intent.action.ANY_DATA_STATE" />
31     <protected-broadcast android:name="android.intent.action.DATA_CONNECTION_FAILED" />
32     <protected-broadcast android:name="android.intent.action.SIM_STATE_CHANGED" />
33     <protected-broadcast android:name="android.intent.action.NETWORK_SET_TIME" />
34     <protected-broadcast android:name="android.intent.action.NETWORK_SET_TIMEZONE" />
35     <protected-broadcast android:name="android.intent.action.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS" />
36     <protected-broadcast android:name="android.intent.action.ACTION_MDN_STATE_CHANGED" />
37     <protected-broadcast android:name="android.provider.Telephony.SPN_STRINGS_UPDATED" />
38
39     <uses-permission android:name="android.permission.BROADCAST_STICKY" />
40     <uses-permission android:name="android.permission.CALL_PHONE" />
41     <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
42     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
43     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
44     <uses-permission android:name="android.permission.READ_CONTACTS" />
45     <uses-permission android:name="android.permission.WRITE_CONTACTS" />
46     <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
47     <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" />
48     <uses-permission android:name="android.permission.ADD_SYSTEM_SERVICE" />
49     <uses-permission android:name="android.permission.VIBRATE" />
50     <uses-permission android:name="android.permission.BLUETOOTH" />
51     <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
52     <uses-permission android:name="android.permission.REORDER_TASKS" />
53     <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
54     <uses-permission android:name="android.permission.WAKE_LOCK" />
55     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
56     <uses-permission android:name="android.permission.STATUS_BAR" />
57     <uses-permission android:name="android.permission.READ_SMS" />
58     <uses-permission android:name="android.permission.WRITE_SMS" />
59     <uses-permission android:name="android.permission.SEND_SMS" />
60     <uses-permission android:name="android.permission.SEND_SMS_NO_CONFIRMATION" />
61     <uses-permission android:name="android.permission.SET_TIME_ZONE" />
62     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
63     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
64     <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
65     <uses-permission android:name="android.permission.DEVICE_POWER" />
66     <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
67     <uses-permission android:name="android.permission.INTERNET" />
68     <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
69     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
70     <uses-permission android:name="android.permission.WRITE_APN_SETTINGS" />
71     <uses-permission android:name="android.permission.BROADCAST_SMS"/>
72     <uses-permission android:name="android.permission.BROADCAST_WAP_PUSH"/>
73     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
74     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
75     <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
76     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
77     <uses-permission android:name="android.permission.SHUTDOWN" />
78     <uses-permission android:name="android.permission.RECORD_AUDIO" />
79     <uses-permission android:name="android.permission.PERFORM_CDMA_PROVISIONING" />
80     <uses-permission android:name="android.permission.USE_SIP" />
81     <uses-permission android:name="android.permission.REBOOT" />
82     <uses-permission android:name="android.permission.UPDATE_LOCK" />
83     <uses-permission android:name="com.android.smspush.WAPPUSH_MANAGER_BIND" />
84
85     <!-- This tells the activity manager to not delay any of our activity
86          start requests, even if they happen immediately after the user
87          presses home. -->
88     <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
89
90     <application android:name="PhoneApp"
91                  android:persistent="true"
92                  android:label="@string/phoneAppLabel"
93                  android:icon="@drawable/ic_launcher_phone">
94             <provider android:name="IccProvider"
95                       android:authorities="icc"
96                       android:multiprocess="true"
97                       android:readPermission="android.permission.READ_CONTACTS"
98                       android:writePermission="android.permission.WRITE_CONTACTS" />
99
100         <!-- Dialer UI that only allows emergency calls -->
101         <activity android:name="EmergencyDialer"
102             android:label="@string/emergencyDialerIconLabel"
103             android:theme="@style/EmergencyDialerTheme"
104             android:screenOrientation="nosensor">
105             <intent-filter>
106                 <action android:name="com.android.phone.EmergencyDialer.DIAL" />
107                 <category android:name="android.intent.category.DEFAULT" />
108             </intent-filter>
109             <intent-filter>
110                 <action android:name="com.android.phone.EmergencyDialer.DIAL" />
111                 <category android:name="android.intent.category.DEFAULT" />
112                 <data android:scheme="tel" />
113             </intent-filter>
114         </activity>
115
116         <activity android:name="ADNList" />
117
118         <activity android:name="SimContacts"
119             android:label="@string/simContacts_title"
120             android:theme="@style/SimImportTheme"
121             android:icon="@mipmap/ic_launcher_contacts">
122
123             <intent-filter>
124                 <action android:name="android.intent.action.VIEW" />
125                 <category android:name="android.intent.category.DEFAULT" />
126                 <data android:mimeType="vnd.android.cursor.item/sim-contact" />
127             </intent-filter>
128         </activity>
129
130         <activity android:name="FdnList" android:label="@string/fdnListLabel">
131             <intent-filter>
132                 <action android:name="android.intent.action.VIEW" />
133                 <category android:name="android.intent.category.DEFAULT" />
134                 <data android:mimeType="vnd.android.cursor.item/sim-contact" />
135             </intent-filter>
136         </activity>
137
138         <activity android:name="OutgoingCallBroadcaster"
139                 android:theme="@style/OutgoingCallBroadcasterTheme"
140                 android:permission="android.permission.CALL_PHONE"
141                 android:screenOrientation="portrait"
142                 android:configChanges="orientation|screenSize|keyboardHidden">
143             <!-- CALL action intent filters, for the various ways
144                  of initiating an outgoing call. -->
145             <intent-filter>
146                 <action android:name="android.intent.action.CALL" />
147                 <category android:name="android.intent.category.DEFAULT" />
148                 <data android:scheme="tel" />
149             </intent-filter>
150             <intent-filter android:icon="@drawable/ic_launcher_sip_call">
151                 <action android:name="android.intent.action.CALL" />
152                 <category android:name="android.intent.category.DEFAULT" />
153                 <data android:scheme="sip" />
154             </intent-filter>
155             <intent-filter>
156                 <action android:name="android.intent.action.CALL" />
157                 <category android:name="android.intent.category.DEFAULT" />
158                 <data android:scheme="voicemail" />
159             </intent-filter>
160             <intent-filter>
161                 <action android:name="android.intent.action.CALL" />
162                 <category android:name="android.intent.category.DEFAULT" />
163                 <data android:mimeType="vnd.android.cursor.item/phone" />
164                 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
165                 <data android:mimeType="vnd.android.cursor.item/person" />
166             </intent-filter>
167         </activity>
168
169         <activity-alias android:name="EmergencyOutgoingCallBroadcaster"
170                 android:targetActivity="OutgoingCallBroadcaster"
171                 android:permission="android.permission.CALL_PRIVILEGED">
172             <intent-filter>
173                 <action android:name="android.intent.action.CALL_EMERGENCY" />
174                 <category android:name="android.intent.category.DEFAULT" />
175                 <data android:scheme="tel" />
176             </intent-filter>
177             <intent-filter android:icon="@drawable/ic_launcher_sip_call">
178                 <action android:name="android.intent.action.CALL_EMERGENCY" />
179                 <category android:name="android.intent.category.DEFAULT" />
180                 <data android:scheme="sip" />
181             </intent-filter>
182             <intent-filter>
183                 <action android:name="android.intent.action.CALL_EMERGENCY" />
184                 <category android:name="android.intent.category.DEFAULT" />
185                 <data android:scheme="voicemail" />
186             </intent-filter>
187             <intent-filter>
188                 <action android:name="android.intent.action.CALL_EMERGENCY" />
189                 <category android:name="android.intent.category.DEFAULT" />
190                 <data android:mimeType="vnd.android.cursor.item/phone" />
191                 <data android:mimeType="vnd.android.cursor.item/person" />
192             </intent-filter>
193         </activity-alias>
194
195         <activity-alias android:name="PrivilegedOutgoingCallBroadcaster"
196                 android:targetActivity="OutgoingCallBroadcaster"
197                 android:permission="android.permission.CALL_PRIVILEGED">
198             <intent-filter>
199                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
200                 <category android:name="android.intent.category.DEFAULT" />
201                 <data android:scheme="tel" />
202             </intent-filter>
203             <intent-filter android:icon="@drawable/ic_launcher_sip_call">
204                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
205                 <category android:name="android.intent.category.DEFAULT" />
206                 <data android:scheme="sip" />
207             </intent-filter>
208             <intent-filter>
209                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
210                 <category android:name="android.intent.category.DEFAULT" />
211                 <data android:scheme="voicemail" />
212             </intent-filter>
213             <intent-filter>
214                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
215                 <category android:name="android.intent.category.DEFAULT" />
216                 <data android:mimeType="vnd.android.cursor.item/phone" />
217                 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
218                 <data android:mimeType="vnd.android.cursor.item/person" />
219             </intent-filter>
220         </activity-alias>
221
222         <receiver android:name="ProcessOutgoingCallTest" android:exported="false"
223             android:enabled="false">
224             <intent-filter android:priority="1">
225                 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
226                 <category android:name="android.intent.category.DEFAULT" />
227             </intent-filter>
228         </receiver>
229
230         <!-- Main in-call UI activity.  This is never launched directly
231              from outside the phone app; instead, it's either launched by
232              the OutgoingCallBroadcaster (for outgoing calls), or as the
233              fullScreenIntent of a notification (for incoming calls.) -->
234         <activity android:name="InCallScreen"
235             android:theme="@style/Theme.InCallScreen"
236             android:label="@string/phoneIconLabel"
237             android:excludeFromRecents="true"
238             android:launchMode="singleInstance"
239             android:screenOrientation="portrait"
240             android:configChanges="orientation|screenSize|keyboardHidden|uiMode"
241             android:exported="false">
242         </activity>
243
244         <!-- Trampoline activity that handles the PERFORM_CDMA_PROVISIONING intent. -->
245         <activity android:name="InCallScreenShowActivation"
246             android:permission="android.permission.PERFORM_CDMA_PROVISIONING"
247             android:label="@string/phoneIconLabel"
248             android:theme="@android:style/Theme.NoDisplay"
249             android:excludeFromRecents="true">
250             <intent-filter>
251                 <action android:name="com.android.phone.PERFORM_CDMA_PROVISIONING" />
252                 <category android:name="android.intent.category.DEFAULT" />
253             </intent-filter>
254         </activity>
255
256         <!-- "Mobile network settings" screen, used on both
257              non-voice-capable tablets and regular phone devices. -->
258         <activity android:name="MobileNetworkSettings"
259             android:label="@string/settings_label"
260             android:theme="@style/Theme.Settings">
261             <intent-filter>
262                 <action android:name="android.intent.action.VIEW" />
263                 <action android:name="android.intent.action.MAIN" />
264                 <action android:name="android.settings.DATA_ROAMING_SETTINGS" />
265                 <category android:name="android.intent.category.DEFAULT" />
266             </intent-filter>
267         </activity>
268
269         <activity-alias android:name="Settings"
270             android:targetActivity="MobileNetworkSettings" />
271
272         <!-- networks setting -->
273         <!-- service to handle network query requests sent to RIL -->
274         <service android:name="NetworkQueryService" />
275
276         <!-- clearing of missed call notifications  -->
277         <service android:name="ClearMissedCallsService" />
278
279         <activity android:name="NetworkSetting"
280                 android:label="@string/networks"
281                 android:configChanges="orientation|screenSize|keyboardHidden"
282                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
283             <intent-filter>
284                 <action android:name="android.intent.action.MAIN" />
285                 <action android:name="android.settings.NETWORK_OPERATOR_SETTINGS" />
286                 <category android:name="android.intent.category.DEFAULT" />
287             </intent-filter>
288         </activity>
289
290         <activity android:name="GsmUmtsOptions"
291                 android:label="@string/gsm_umts_options"
292                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
293             <intent-filter>
294                 <action android:name="android.intent.action.MAIN" />
295             </intent-filter>
296         </activity>
297
298         <activity android:name="CdmaOptions"
299                 android:label="@string/cdma_options"
300                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
301             <intent-filter>
302                 <action android:name="android.intent.action.MAIN" />
303             </intent-filter>
304         </activity>
305
306         <activity android:name="GsmUmtsCallOptions"
307                 android:label="@string/gsm_umts_options"
308                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
309             <intent-filter>
310                 <action android:name="android.intent.action.MAIN" />
311             </intent-filter>
312         </activity>
313
314         <activity android:name="CdmaCallOptions"
315                 android:label="@string/cdma_options"
316                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
317             <intent-filter>
318                 <action android:name="android.intent.action.MAIN" />
319             </intent-filter>
320         </activity>
321
322         <activity android:name="GsmUmtsCallForwardOptions"
323                 android:label="@string/labelCF"
324                 android:configChanges="orientation|screenSize|keyboardHidden"
325                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
326             <intent-filter>
327                 <action android:name="android.intent.action.MAIN" />
328             </intent-filter>
329         </activity>
330
331         <activity android:name="GsmUmtsAdditionalCallOptions"
332                 android:label="@string/labelGSMMore"
333                 android:configChanges="orientation|screenSize|keyboardHidden"
334                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
335             <intent-filter>
336                 <action android:name="android.intent.action.MAIN" />
337             </intent-filter>
338         </activity>
339
340         <activity android:name="CellBroadcastSms"
341             android:label="@string/cell_broadcast_sms"
342             android:theme="@android:style/Theme.Holo.DialogWhenLarge">
343             <intent-filter>
344                 <action android:name="android.intent.action.MAIN" />
345             </intent-filter>
346         </activity>
347
348         <!-- fdn setting -->
349         <activity android:name="FdnSetting"
350                 android:label="@string/fdn"
351                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
352             <intent-filter>
353                 <action android:name="android.intent.action.MAIN" />
354             </intent-filter>
355         </activity>
356
357         <activity android:name="EnableFdnScreen"
358                 android:label=""
359                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
360         </activity>
361
362         <!-- SIM PIN setting -->
363         <activity android:name="EnableIccPinScreen"
364                 android:label="@string/enable_pin"
365                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
366             <intent-filter>
367                 <action android:name="android.intent.action.MAIN" />
368                 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
369             </intent-filter>
370         </activity>
371
372         <activity android:name="ChangeIccPinScreen"
373                 android:label="@string/change_pin"
374                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
375             <intent-filter>
376                 <action android:name="android.intent.action.MAIN" />
377                 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
378             </intent-filter>
379         </activity>
380
381         <activity android:name="GetPin2Screen"
382                 android:label="@string/get_pin2"
383                 android:theme="@android:style/Theme.Holo.DialogWhenLarge"
384                 android:windowSoftInputMode="stateVisible">
385         </activity>
386
387         <activity android:name="EditFdnContactScreen"
388                   android:windowSoftInputMode="stateVisible">
389         </activity>
390
391         <activity android:name="DeleteFdnContactScreen"
392         android:label="@string/delete_fdn_contact">
393         </activity>
394
395         <activity android:name="DataRoamingReenable" android:label="@string/android:dialog_alert_title"
396             android:theme="@android:style/Theme.Holo.Dialog">
397             <intent-filter>
398                 <action android:name="android.intent.action.MAIN" />
399             </intent-filter>
400         </activity>
401
402         <!-- Data usage and throttling setting -->
403         <activity android:name="DataUsage"
404                 android:label="@string/throttle_data_usage"
405                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
406             <intent-filter>
407                 <action android:name="android.intent.action.MAIN" />
408             </intent-filter>
409         </activity>
410
411         <!-- data roaming setting -->
412         <activity android:name="RoamingSetting"
413                 android:label="@string/roaming"
414                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
415             <intent-filter>
416                 <action android:name="android.intent.action.MAIN" />
417             </intent-filter>
418         </activity>
419
420         <!-- "Call settings" UI, used only on voice-capable phone devices. -->
421         <activity android:name="CallFeaturesSetting"
422                 android:label="@string/call_settings"
423                 android:configChanges="orientation|screenSize|keyboardHidden"
424                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
425             <intent-filter>
426                 <action android:name="android.intent.action.VIEW" />
427                 <action android:name="android.intent.action.MAIN" />
428                 <action android:name="com.android.phone.CallFeaturesSetting.ADD_VOICEMAIL" />
429                 <category android:name="android.intent.category.DEFAULT" />
430             </intent-filter>
431         </activity>
432
433         <!-- bluetooth headset service -->
434         <service android:name="BluetoothHeadsetService">
435             <intent-filter>
436                 <action android:name="android.bluetooth.IBluetoothHeadset" />
437             </intent-filter>
438         </service>
439
440         <!-- Broadcast Receiver that will process BOOT Complete and launch OTA -->
441         <receiver android:name="OtaStartupReceiver" android:exported="false">
442             <intent-filter android:priority="100">
443                  <action android:name="android.intent.action.BOOT_COMPLETED"/>
444             </intent-filter>
445         </receiver>
446
447         <!-- CDMA Emergency Callback Mode -->
448         <service android:name="EmergencyCallbackModeService">
449         </service>
450
451         <activity android:name="EmergencyCallbackModeExitDialog"
452             android:excludeFromRecents="true"
453             android:label="@string/ecm_exit_dialog"
454             android:launchMode="singleTop"
455             android:theme="@android:style/Theme.Translucent.NoTitleBar">
456             <intent-filter>
457                 <action android:name="com.android.phone.action.ACTION_SHOW_ECM_EXIT_DIALOG" />
458                 <action android:name="android.intent.action.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS" />
459                 <category android:name="android.intent.category.DEFAULT" />
460             </intent-filter>
461         </activity>
462
463         <receiver android:name="SipBroadcastReceiver">
464             <intent-filter>
465                 <action android:name="com.android.phone.SIP_INCOMING_CALL" />
466                 <action android:name="com.android.phone.SIP_ADD_PHONE" />
467                 <action android:name="com.android.phone.SIP_REMOVE_PHONE" />
468                 <action android:name="android.net.sip.SIP_SERVICE_UP" />
469             </intent-filter>
470         </receiver>
471
472         <activity android:label="Sip Settings"
473                   android:name=".sip.SipSettings"
474                   android:theme="@android:style/Theme.Holo.DialogWhenLarge"
475                   android:launchMode="singleTop"
476                   android:configChanges="orientation|screenSize|keyboardHidden"
477                   android:uiOptions="splitActionBarWhenNarrow">
478             <intent-filter>
479                 <action android:name="android.intent.action.MAIN" />
480                 <action android:name="android.net.sip.NOTIFY" />
481             </intent-filter>
482         </activity>
483         <activity android:name=".sip.SipEditor"
484                 android:theme="@android:style/Theme.Holo.DialogWhenLarge"
485                 android:configChanges="orientation|screenSize|keyboardHidden"
486                 android:uiOptions="splitActionBarWhenNarrow">
487         </activity>
488         <activity android:name=".SipCallOptionHandler"
489                 android:theme="@android:style/Theme.Holo.NoActionBar"
490                 android:screenOrientation="portrait"
491                 android:configChanges="orientation|screenSize|keyboardHidden">
492         </activity>
493
494         <activity android:name="RespondViaSmsManager$Settings"
495                 android:label="@string/respond_via_sms_setting_title"
496                 android:configChanges="orientation|screenSize|keyboardHidden"
497                 android:theme="@android:style/Theme.Holo.DialogWhenLarge">
498             <intent-filter>
499                 <action android:name="android.intent.action.MAIN" />
500             </intent-filter>
501         </activity>
502
503         <receiver android:name="CallerInfoCacheUpdateReceiver">
504             <intent-filter>
505                 <action android:name="com.android.phone.UPDATE_CALLER_INFO_CACHE" />
506             </intent-filter>
507         </receiver>
508
509     </application>
510 </manifest>