Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 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 <!-- Phone app resources that may need to be customized
     18      for different hardware or product builds. -->
     19 <resources>
     20     <!-- Flag indicating whether the Phone app should ignore
     21          EVENT_SIM_NETWORK_LOCKED events from the Sim.  If true, this will
     22          prevent the IccNetworkDepersonalizationPanel from being shown,
     23          and effectively disable the "Sim network lock" feature. -->
     24     <bool name="ignore_sim_network_locked_events">false</bool>
     25 
     26     <!-- Flag indicating whether the Phone app should provide
     27          a "Dismiss" button on the SIM network unlock screen.
     28          The default value is true.
     29          If set to false, there will be *no way* to dismiss the SIM
     30          network unlock screen if you don't enter the correct unlock code.
     31          (One important consequence: there will be no way to make an
     32          Emergency Call if your SIM is network-locked and you don't know
     33          the PIN.) -->
     34     <bool name="sim_network_unlock_allow_dismiss">true</bool>
     35 
     36     <!-- OTA configuration values, used when provisioning CDMA devices.
     37          Following defaults values of zero means OTA UI is completely disabled.
     38          These OTA UI can be enabled by setting config value to one in the product
     39          specific overlay file -->
     40 
     41     <!-- Determine whether we want to display the OTA activation screen, which
     42          gives the user option to activate or cancel -->
     43     <integer name="OtaShowActivationScreen">1</integer>
     44     <!-- Determine whether we should show the "listen for instructions" screen after
     45          successfully placing the OTA call -->
     46     <integer name="OtaShowListeningScreen">0</integer>
     47     <!-- The number of times we should show the activation screen/allow the provisioning
     48          to fail before just showing an unsuccessful dialog -->
     49     <integer name="OtaShowActivateFailTimes">0</integer>
     50     <!-- Determine whether or not we should play the success/failure tone -->
     51     <integer name="OtaPlaySuccessFailureTone">0</integer>
     52 
     53     <!-- Flag indicating if the phone is a world phone -->
     54     <bool name="world_phone">false</bool>
     55 
     56     <!-- If true, enable vibration (haptic feedback) for key presses
     57          in the EmergencyDialer activity. The pattern is set on a
     58          per-platform basis using config_virtualKeyVibePattern.  To be
     59          consistent with the regular Dialer, this value should agree
     60          with the corresponding values from config.xml under
     61          apps/Contacts. -->
     62     <bool name="config_enable_dialer_key_vibration">true</bool>
     63 
     64     <!-- Flag indicating if hac is enabled -->
     65     <bool name="hac_enabled">false</bool>
     66 
     67     <!-- Flag indicating if dtmf tone type is enabled -->
     68     <bool name="dtmf_type_enabled">false</bool>
     69 
     70     <!-- Flag indicating if auto retry is enabled -->
     71     <bool name="auto_retry_enabled">false</bool>
     72 
     73     <!-- Determine whether we want to play local DTMF tones in a call, or
     74          just let the radio/BP handle playing of the tones. -->
     75     <bool name="allow_local_dtmf_tones">true</bool>
     76 
     77     <!-- If true, show an onscreen "Dial" button in the dialer.
     78          In practice this is used on all platforms, even the ones with hard SEND/END
     79          keys, but for maximum flexibility it's controlled by a flag here
     80          (which can be overridden on a per-product basis.) -->
     81     <bool name="config_show_onscreen_dial_button">true</bool>
     82 
     83     <!-- Determine whether calls to mute the microphone in PhoneUtils
     84          are routed through the android.media.AudioManager class (true) or through
     85          the com.android.internal.telephony.Phone interface (false). -->
     86     <bool name="send_mic_mute_to_AudioManager">false</bool>
     87 
     88     <!-- Determines if device implements a noise suppression device for in call audio-->
     89     <bool name="has_in_call_noise_suppression">false</bool>
     90 
     91     <!-- Determines if the current device should allow emergency numbers
     92          to be logged in the Call Log.
     93          (Some carriers require that emergency calls *not* be logged,
     94          presumably to avoid the risk of accidental redialing from the
     95          call log UI.  This is a good idea, so the default here is false.)
     96 
     97          TODO: on the other hand, it might still be useful to have some
     98          record of the emergency calls you've made, or to be able to look
     99          up the exact date/time of an emergency call.  So perhaps we
    100          *should* log those calls, but instead fix the call log to disable
    101          the "call" button for emergency numbers. -->
    102     <bool name="allow_emergency_numbers_in_call_log">false</bool>
    103 
    104     <!-- If this is true, the SIM card (through Customer Service Profile EF file) will be
    105          able to prevent manual operator selection. If false, this SIM setting will be
    106          ignored and manual operator selection will always be available. See
    107          CPHS4_2.WW6, CPHS B.4.7.1 for more information -->
    108     <bool name="csp_enabled">false</bool>
    109 
    110     <!-- If true, removes the Voice Privacy option from Call Settings -->
    111     <bool name="config_voice_privacy_disable">false</bool>
    112 
    113     <!-- Configure certain GsmUmtsOptions to be available or not. The
    114          default values are in Phone/res/values/config.xml and maybe overridden
    115          in operator specific resource directories or device specific overlays. -->
    116     <bool name="config_apn_expand" translatable="false">true</bool>
    117     <bool name="config_operator_selection_expand" translatable="false">true</bool>
    118     <bool name="config_prefer_2g" translatable="false">true</bool>
    119     <!-- Show enabled lte option for lte device -->
    120     <bool name="config_enabled_lte" translatable="false">false</bool>
    121     <!-- Show cdma auto network mode in (glabal) roaming -->
    122     <bool name="config_show_cdma" translatable="false">false</bool>
    123 
    124     <!-- Package name for the default in-call UI and dialer [DO NOT TRANSLATE] -->
    125     <string name="ui_default_package" translatable="false">com.android.dialer</string>
    126 
    127     <!-- Class name for the default main Dialer activity [DO NOT TRANSLATE] -->
    128     <string name="dialer_default_class" translatable="false">com.android.dialer.DialtactsActivity</string>
    129 
    130     <!-- CDMA activation goes through HFA -->
    131     <bool name="config_use_hfa_for_provisioning">false</bool>
    132 
    133     <!-- CDMA activation goes through OTASP.
    134         TODO: This should be combined with config_use_hfa_for_provisioning and implemented
    135         as an enum (NONE, HFA, OTASP). -->
    136     <bool name="config_use_otasp_for_provisioning">false</bool>
    137 
    138     <!-- Display carrier settings menu if true -->
    139     <bool name="config_carrier_settings_enable">false</bool>
    140     <!-- carrier settings menu -->
    141     <string name="carrier_settings" translatable="false"></string>
    142     <string name="carrier_settings_menu" translatable="false"></string>
    143 
    144     <!-- Does not display additional call seting for IMS phone based on GSM Phone -->
    145     <bool name="config_additional_call_setting">true</bool>
    146 
    147     <!-- Show APN Settings for some CDMA carriers -->
    148     <bool name="config_show_apn_setting_cdma">false</bool>
    149 
    150     <!-- Allows the telephony HFA logic to run even if we're not in setup wizard. -->
    151     <bool name="config_allow_hfa_outside_of_setup_wizard">true</bool>
    152 </resources>
    153