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