Home | History | Annotate | Download | only in Phone
      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 
     76     <!-- This tells the activity manager to not delay any of our activity
     77          start requests, even if they happen immediately after the user
     78          presses home. -->
     79     <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
     80 
     81     <application android:name="PhoneApp"
     82                  android:persistent="true"
     83                  android:label="@string/dialerIconLabel"
     84                  android:icon="@drawable/ic_launcher_phone">
     85             <provider android:name="IccProvider"
     86                       android:authorities="icc"
     87                       android:multiprocess="true"
     88                       android:readPermission="android.permission.READ_CONTACTS"
     89                       android:writePermission="android.permission.WRITE_CONTACTS" />
     90 
     91         <!-- Dialer UI that only allows emergency calls -->
     92         <activity android:name="EmergencyDialer"
     93             android:label="@string/emergencyDialerIconLabel"
     94             android:screenOrientation="nosensor">
     95             <intent-filter>
     96                 <action android:name="com.android.phone.EmergencyDialer.DIAL" />
     97                 <category android:name="android.intent.category.DEFAULT" />
     98             </intent-filter>
     99         </activity>
    100 
    101         <activity android:name="ADNList" />
    102 
    103         <activity android:name="SimContacts"
    104             android:label="@string/simContacts_title">
    105 
    106             <intent-filter>
    107                 <action android:name="android.intent.action.VIEW" />
    108                 <category android:name="android.intent.category.DEFAULT" />
    109                 <data android:mimeType="vnd.android.cursor.item/sim-contact" />
    110             </intent-filter>
    111         </activity>
    112 
    113         <activity android:name="FdnList" android:label="@string/fdnListLabel">
    114             <intent-filter>
    115                 <action android:name="android.intent.action.VIEW" />
    116                 <category android:name="android.intent.category.DEFAULT" />
    117                 <data android:mimeType="vnd.android.cursor.item/sim-contact" />
    118             </intent-filter>
    119         </activity>
    120 
    121         <activity android:name="OutgoingCallBroadcaster"
    122                 android:permission="android.permission.CALL_PHONE"
    123                 android:theme="@android:style/Theme.NoDisplay"
    124                 android:configChanges="orientation|keyboardHidden">
    125             <!-- CALL action intent filters, for the various ways
    126                  of initiating an outgoing call. -->
    127             <intent-filter>
    128                 <action android:name="android.intent.action.CALL" />
    129                 <category android:name="android.intent.category.DEFAULT" />
    130                 <data android:scheme="tel" />
    131             </intent-filter>
    132             <intent-filter>
    133                 <action android:name="android.intent.action.CALL" />
    134                 <category android:name="android.intent.category.DEFAULT" />
    135                 <data android:scheme="voicemail" />
    136             </intent-filter>
    137             <intent-filter>
    138                 <action android:name="android.intent.action.CALL" />
    139                 <category android:name="android.intent.category.DEFAULT" />
    140                 <data android:mimeType="vnd.android.cursor.item/phone" />
    141                 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
    142                 <data android:mimeType="vnd.android.cursor.item/person" />
    143             </intent-filter>
    144         </activity>
    145 
    146         <activity-alias android:name="EmergencyOutgoingCallBroadcaster"
    147                 android:targetActivity="OutgoingCallBroadcaster"
    148                 android:permission="android.permission.CALL_PRIVILEGED"
    149                 android:theme="@android:style/Theme.NoDisplay">
    150             <intent-filter>
    151                 <action android:name="android.intent.action.CALL_EMERGENCY" />
    152                 <category android:name="android.intent.category.DEFAULT" />
    153                 <data android:scheme="tel" />
    154             </intent-filter>
    155             <intent-filter>
    156                 <action android:name="android.intent.action.CALL_EMERGENCY" />
    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_EMERGENCY" />
    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/person" />
    165             </intent-filter>
    166         </activity-alias>
    167 
    168         <activity-alias android:name="PrivilegedOutgoingCallBroadcaster"
    169                 android:targetActivity="OutgoingCallBroadcaster"
    170                 android:theme="@android:style/Theme.NoDisplay"
    171                 android:permission="android.permission.CALL_PRIVILEGED">
    172             <intent-filter>
    173                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
    174                 <category android:name="android.intent.category.DEFAULT" />
    175                 <data android:scheme="tel" />
    176             </intent-filter>
    177             <intent-filter>
    178                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
    179                 <category android:name="android.intent.category.DEFAULT" />
    180                 <data android:scheme="voicemail" />
    181             </intent-filter>
    182             <intent-filter>
    183                 <action android:name="android.intent.action.CALL_PRIVILEGED" />
    184                 <category android:name="android.intent.category.DEFAULT" />
    185                 <data android:mimeType="vnd.android.cursor.item/phone" />
    186                 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
    187                 <data android:mimeType="vnd.android.cursor.item/person" />
    188             </intent-filter>
    189         </activity-alias>
    190 
    191         <receiver android:name="ProcessOutgoingCallTest" android:exported="false"
    192             android:enabled="false">
    193             <intent-filter android:priority="1">
    194                 <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
    195                 <category android:name="android.intent.category.DEFAULT" />
    196             </intent-filter>
    197         </receiver>
    198 
    199         <activity android:name="InCallScreen"
    200             android:theme="@android:style/Theme.NoTitleBar"
    201             android:label="@string/phoneIconLabel"
    202             android:excludeFromRecents="true"
    203             android:launchMode="singleInstance"
    204             android:screenOrientation="portrait"
    205             android:configChanges="orientation|keyboardHidden"
    206             android:exported="false">
    207         </activity>
    208 
    209         <activity android:name="InCallScreenShowActivation"
    210             android:permission="android.permission.PERFORM_CDMA_PROVISIONING"
    211             android:label="@string/phoneIconLabel"
    212             android:excludeFromRecents="true">
    213             <intent-filter>
    214                 <action android:name="com.android.phone.InCallScreen.SHOW_ACTIVATION" />
    215                 <category android:name="android.intent.category.DEFAULT" />
    216             </intent-filter>
    217         </activity>
    218 
    219         <!-- general settings -->
    220         <activity android:name="Settings" android:label="@string/settings_label">
    221             <intent-filter>
    222                 <action android:name="android.intent.action.VIEW" />
    223                 <action android:name="android.intent.action.MAIN" />
    224                 <action android:name="android.settings.DATA_ROAMING_SETTINGS" />
    225             </intent-filter>
    226         </activity>
    227 
    228         <!-- networks setting -->
    229         <!-- service to handle network query requests sent to RIL -->
    230         <service android:name="NetworkQueryService" />
    231 
    232         <activity android:name="NetworkSetting"
    233             android:label="@string/networks"
    234             android:configChanges="orientation|keyboardHidden">
    235             <intent-filter>
    236                 <action android:name="android.intent.action.MAIN" />
    237                 <action android:name="android.settings.NETWORK_OPERATOR_" />
    238             </intent-filter>
    239         </activity>
    240 
    241         <activity android:name="GsmUmtsOptions"
    242             android:label="@string/gsm_umts_options">
    243             <intent-filter>
    244                 <action android:name="android.intent.action.MAIN" />
    245             </intent-filter>
    246         </activity>
    247 
    248         <activity android:name="CdmaOptions"
    249             android:label="@string/cdma_options">
    250             <intent-filter>
    251                 <action android:name="android.intent.action.MAIN" />
    252             </intent-filter>
    253         </activity>
    254 
    255         <activity android:name="GsmUmtsCallOptions"
    256             android:label="@string/gsm_umts_options">
    257             <intent-filter>
    258                 <action android:name="android.intent.action.MAIN" />
    259             </intent-filter>
    260         </activity>
    261 
    262         <activity android:name="CdmaCallOptions"
    263             android:label="@string/cdma_options">
    264             <intent-filter>
    265                 <action android:name="android.intent.action.MAIN" />
    266             </intent-filter>
    267         </activity>
    268 
    269         <activity android:name="GsmUmtsCallForwardOptions"
    270             android:label="@string/labelCF"
    271             android:configChanges="orientation|keyboardHidden">
    272             <intent-filter>
    273                 <action android:name="android.intent.action.MAIN" />
    274             </intent-filter>
    275         </activity>
    276 
    277         <activity android:name="GsmUmtsAdditionalCallOptions"
    278             android:label="@string/labelGSMMore"
    279             android:configChanges="orientation|keyboardHidden">
    280             <intent-filter>
    281                 <action android:name="android.intent.action.MAIN" />
    282             </intent-filter>
    283         </activity>
    284 
    285         <activity android:name="CellBroadcastSms"
    286             android:label="@string/cell_broadcast_sms">
    287             <intent-filter>
    288                 <action android:name="android.intent.action.MAIN" />
    289             </intent-filter>
    290         </activity>
    291 
    292         <!-- fdn setting -->
    293         <activity android:name="FdnSetting" android:label="@string/fdn">
    294             <intent-filter>
    295                 <action android:name="android.intent.action.MAIN" />
    296             </intent-filter>
    297         </activity>
    298 
    299         <activity android:name="EnableFdnScreen" android:label="">
    300         </activity>
    301 
    302         <!-- SIM PIN setting -->
    303         <activity android:name="EnableIccPinScreen" android:label="@string/enable_pin">
    304             <intent-filter>
    305                 <action android:name="android.intent.action.MAIN" />
    306                 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
    307             </intent-filter>
    308         </activity>
    309 
    310         <activity android:name="ChangeIccPinScreen" android:label="@string/change_pin">
    311             <intent-filter>
    312                 <action android:name="android.intent.action.MAIN" />
    313                 <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
    314             </intent-filter>
    315         </activity>
    316 
    317         <activity android:name="GetPin2Screen" android:label="@string/get_pin2"
    318                   android:windowSoftInputMode="stateVisible">
    319         </activity>
    320 
    321         <activity android:name="EditFdnContactScreen"
    322                   android:windowSoftInputMode="stateVisible">
    323         </activity>
    324 
    325         <activity android:name="DeleteFdnContactScreen"
    326         android:label="@string/delete_fdn_contact">
    327         </activity>
    328 
    329         <activity android:name="DataRoamingReenable" android:label="@string/android:dialog_alert_title"
    330             android:theme="@android:style/Theme.Dialog">
    331             <intent-filter>
    332                 <action android:name="android.intent.action.MAIN" />
    333             </intent-filter>
    334         </activity>
    335 
    336         <!-- Data usage and throttling setting -->
    337         <activity android:name="DataUsage"
    338             android:label="@string/throttle_data_usage">
    339             <intent-filter>
    340                 <action android:name="android.intent.action.MAIN" />
    341             </intent-filter>
    342         </activity>
    343 
    344         <!-- data roaming setting -->
    345         <activity android:name="RoamingSetting" android:label="@string/roaming">
    346             <intent-filter>
    347                 <action android:name="android.intent.action.MAIN" />
    348             </intent-filter>
    349         </activity>
    350 
    351         <!-- call feature setting -->
    352         <activity android:name="CallFeaturesSetting" android:label="@string/call_settings"
    353             android:configChanges="orientation|keyboardHidden">
    354             <intent-filter>
    355                 <action android:name="android.intent.action.VIEW" />
    356                 <action android:name="android.intent.action.MAIN" />
    357                 <action android:name="com.android.phone.CallFeaturesSetting.ADD_VOICEMAIL" />
    358                 <category android:name="android.intent.category.DEFAULT" />
    359             </intent-filter>
    360         </activity>
    361 
    362         <!-- emergency call handler, coordinates emergency calls -->
    363         <activity android:name="EmergencyCallHandler" android:label="@string/phoneIconLabel"
    364             android:excludeFromRecents="true"
    365             android:launchMode="singleInstance">
    366         </activity>
    367 
    368         <!-- bluetooth headset service -->
    369         <service android:name="BluetoothHeadsetService">
    370             <intent-filter>
    371                 <action android:name="android.bluetooth.IBluetoothHeadset" />
    372             </intent-filter>
    373         </service>
    374 
    375         <!-- Broadcast Receiver that will process BOOT Complete and launch OTA -->
    376         <receiver android:name="OtaStartupReceiver" android:exported="false">
    377             <intent-filter android:priority="100">
    378                  <action android:name="android.intent.action.BOOT_COMPLETED"/>
    379             </intent-filter>
    380         </receiver>
    381 
    382         <!-- CDMA Emergency Callback Mode -->
    383         <service android:name="EmergencyCallbackModeService">
    384         </service>
    385 
    386         <activity android:name="EmergencyCallbackModeExitDialog"
    387             android:excludeFromRecents="true"
    388             android:label="@string/ecm_exit_dialog"
    389             android:launchMode="singleTop"
    390             android:theme="@android:style/Theme.Translucent.NoTitleBar">
    391             <intent-filter>
    392                 <action android:name="com.android.phone.action.ACTION_SHOW_ECM_EXIT_DIALOG" />
    393                 <action android:name="android.intent.action.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS" />
    394                 <category android:name="android.intent.category.DEFAULT" />
    395             </intent-filter>
    396         </activity>
    397 
    398     </application>
    399 </manifest>
    400 
    401