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