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<!-- NOTE: Many variables that used to be in this file have been migrated to
18     CarrierConfigManager.java. Please consider whether new variables belong
19     there before adding to this file. Variables here should be more closely
20     related to devices than to networks. -->
21
22<!-- Phone app resources that may need to be customized
23     for different hardware or product builds. -->
24<resources>
25    <!-- Flag indicating whether the Phone app should ignore
26         EVENT_SIM_NETWORK_LOCKED events from the Sim.  If true, this will
27         prevent the IccNetworkDepersonalizationPanel from being shown,
28         and effectively disable the "Sim network lock" feature. -->
29    <!-- DEPRECATED: Use CarrierConfigManager#KEY_IGNORE_SIM_NETWORK_LOCKED_EVENTS_BOOL -->
30    <bool name="ignore_sim_network_locked_events">false</bool>
31
32    <!-- Flag indicating whether the Phone app should provide
33         a "Dismiss" button on the SIM network unlock screen.
34         The default value is true.
35         If set to false, there will be *no way* to dismiss the SIM
36         network unlock screen if you don't enter the correct unlock code.
37         (One important consequence: there will be no way to make an
38         Emergency Call if your SIM is network-locked and you don't know
39         the PIN.) -->
40    <!-- DEPRECATED: Use CarrierConfigManager#KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL -->
41    <bool name="sim_network_unlock_allow_dismiss">true</bool>
42
43    <!-- OTA configuration values, used when provisioning CDMA devices.
44         Following defaults values of zero means OTA UI is completely disabled.
45         These OTA UI can be enabled by setting config value to one in the product
46         specific overlay file -->
47
48    <!-- Determine whether we want to display the OTA activation screen, which
49         gives the user option to activate or cancel -->
50    <integer name="OtaShowActivationScreen">1</integer>
51    <!-- Determine whether we should show the "listen for instructions" screen after
52         successfully placing the OTA call -->
53    <integer name="OtaShowListeningScreen">0</integer>
54    <!-- The number of times we should show the activation screen/allow the provisioning
55         to fail before just showing an unsuccessful dialog -->
56    <integer name="OtaShowActivateFailTimes">0</integer>
57    <!-- Determine whether or not we should play the success/failure tone -->
58    <integer name="OtaPlaySuccessFailureTone">0</integer>
59
60    <!-- Flag indicating if the phone is a world phone -->
61    <!-- DEPRECATED: Use CarrierConfigManager#KEY_WORLD_PHONE_BOOL -->
62    <bool name="world_phone">false</bool>
63
64    <!-- If true, enable vibration (haptic feedback) for key presses
65         in the EmergencyDialer activity. The pattern is set on a
66         per-platform basis using config_virtualKeyVibePattern.  To be
67         consistent with the regular Dialer, this value should agree
68         with the corresponding values from config.xml under
69         apps/Contacts. -->
70    <!-- DEPRECATED: Use CarrierConfigManager#KEY_ENABLE_DIALER_KEY_VIBRATION_BOOL -->
71    <bool name="config_enable_dialer_key_vibration">true</bool>
72
73    <!-- Flag indicating if hac is enabled -->
74    <bool name="hac_enabled">false</bool>
75
76    <!-- Flag indicating if dtmf tone type is enabled -->
77    <!-- DEPRECATED: Use CarrierConfigManager#KEY_DTMF_TYPE_ENABLED_BOOL -->
78    <bool name="dtmf_type_enabled">false</bool>
79
80    <!-- Flag indicating if auto retry is enabled -->
81    <!-- DEPRECATED: Use CarrierConfigManager#KEY_AUTO_RETRY_ENABLED_BOOL -->
82    <bool name="auto_retry_enabled">false</bool>
83
84    <!-- Determine whether we want to play local DTMF tones in a call, or
85         just let the radio/BP handle playing of the tones. -->
86    <!-- DEPRECATED: Use CarrierConfigManager#KEY_ALLOW_LOCAL_DTMF_TONES_BOOL -->
87    <bool name="allow_local_dtmf_tones">true</bool>
88
89    <!-- If true, show an onscreen "Dial" button in the dialer.
90         In practice this is used on all platforms, even the ones with hard SEND/END
91         keys, but for maximum flexibility it's controlled by a flag here
92         (which can be overridden on a per-product basis.) -->
93    <!-- DEPRECATED: Use CarrierConfigManager#KEY_SHOW_ONSCREEN_DIAL_BUTTON_BOOL -->
94    <bool name="config_show_onscreen_dial_button">true</bool>
95
96    <!-- Determine whether calls to mute the microphone in PhoneUtils
97         are routed through the android.media.AudioManager class (true) or through
98         the com.android.internal.telephony.Phone interface (false). -->
99    <bool name="send_mic_mute_to_AudioManager">false</bool>
100
101    <!-- Determines if device implements a noise suppression device for in call audio-->
102    <!-- DEPRECATED: Use CarrierConfigManager#KEY_HAS_IN_CALL_NOISE_SUPPRESSION_BOOL -->
103    <bool name="has_in_call_noise_suppression">false</bool>
104
105    <!-- Determines if the current device should allow emergency numbers
106         to be logged in the Call Log.
107         (Some carriers require that emergency calls *not* be logged,
108         presumably to avoid the risk of accidental redialing from the
109         call log UI.  This is a good idea, so the default here is false.)
110
111         TODO: on the other hand, it might still be useful to have some
112         record of the emergency calls you've made, or to be able to look
113         up the exact date/time of an emergency call.  So perhaps we
114         *should* log those calls, but instead fix the call log to disable
115         the "call" button for emergency numbers. -->
116    <!-- DEPRECATED: Use CarrierConfigManager#KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL -->
117    <bool name="allow_emergency_numbers_in_call_log">false</bool>
118
119    <!-- If this is true, the SIM card (through Customer Service Profile EF file) will be
120         able to prevent manual operator selection. If false, this SIM setting will be
121         ignored and manual operator selection will always be available. See
122         CPHS4_2.WW6, CPHS B.4.7.1 for more information -->
123    <!-- DEPRECATED: Use CarrierConfigManager#KEY_CSP_ENABLED_BOOL -->
124    <bool name="csp_enabled">false</bool>
125
126    <!-- If true, removes the Voice Privacy option from Call Settings -->
127    <!-- DEPRECATED: Use CarrierConfigManager#KEY_VOICE_PRIVACY_DISABLE_UI_BOOL -->
128    <bool name="config_voice_privacy_disable">false</bool>
129
130    <!-- Configure certain GsmUmtsOptions to be available or not. The
131         default values are in Phone/res/values/config.xml and maybe overridden
132         in operator specific resource directories or device specific overlays. -->
133    <!-- DEPRECATED: Use CarrierConfigManager#KEY_APN_EXPAND_BOOL -->
134    <bool name="config_apn_expand" translatable="false">true</bool>
135    <!-- DEPRECATED: Use CarrierConfigManager#KEY_OPERATOR_SELECTION_EXPAND_BOOL -->
136    <bool name="config_operator_selection_expand" translatable="false">true</bool>
137    <!-- DEPRECATED: Use CarrierConfigManager#KEY_PREFER_2G_BOOL -->
138    <bool name="config_prefer_2g" translatable="false">true</bool>
139    <!-- Show enabled lte option for lte device -->
140    <bool name="config_enabled_lte" translatable="false">true</bool>
141    <!-- Show enabled tdscdma option for device -->
142    <bool name="config_support_tdscdma" translatable="false">false</bool>
143    <!-- Show enabled tdscdma option for device when connect roaming network -->
144    <string-array name="config_support_tdscdma_roaming_on_networks" translatable="false">
145    </string-array>
146    <!-- Show cdma auto network mode in (glabal) roaming -->
147    <!-- DEPRECATED: Use CarrierConfigManager#KEY_SHOW_CDMA_CHOICES_BOOL -->
148    <bool name="config_show_cdma" translatable="false">false</bool>
149
150    <!-- Package name for the default in-call UI and dialer [DO NOT TRANSLATE] -->
151    <string name="ui_default_package" translatable="false">com.android.dialer</string>
152
153    <!-- Class name for the default main Dialer activity [DO NOT TRANSLATE] -->
154    <string name="dialer_default_class" translatable="false">com.android.dialer.DialtactsActivity</string>
155
156    <!-- Package name for the mobile network settings [DO NOT TRANSLATE] -->
157    <string name="mobile_network_settings_package" translatable="false">com.android.settings</string>
158    <!-- Class name for the mobile network settings activity [DO NOT TRANSLATE] -->
159    <string name="mobile_network_settings_class" translatable="false">com.android.settings.network.telephony.MobileNetworkActivity</string>
160
161    <!-- CDMA activation goes through HFA -->
162    <!-- DEPRECATED: Use CarrierConfigManager#KEY_USE_HFA_FOR_PROVISIONING_BOOL -->
163    <bool name="config_use_hfa_for_provisioning">false</bool>
164
165    <!-- CDMA activation goes through OTASP.
166        TODO: This should be combined with config_use_hfa_for_provisioning and implemented
167        as an enum (NONE, HFA, OTASP). -->
168    <!-- DEPRECATED: Use CarrierConfigManager#KEY_USE_OTASP_FOR_PROVISIONING_BOOL -->
169    <bool name="config_use_otasp_for_provisioning">false</bool>
170
171    <!-- Display carrier settings menu if true -->
172    <!-- DEPRECATED: Use CarrierConfigManager#KEY_CARRIER_SETTINGS_ENABLE_BOOL -->
173    <bool name="config_carrier_settings_enable">false</bool>
174    <!-- carrier settings menu -->
175    <string name="carrier_settings" translatable="false"></string>
176    <string name="carrier_settings_menu" translatable="false"></string>
177
178    <!-- Does not display additional call seting for IMS phone based on GSM Phone -->
179    <!-- DEPRECATED: Use CarrierConfigManager#KEY_ADDITIONAL_CALL_SETTING_BOOL -->
180    <bool name="config_additional_call_setting">true</bool>
181
182    <!-- Show APN Settings for some CDMA carriers -->
183    <!-- DEPRECATED: Use CarrierConfigManager#KEY_SHOW_APN_SETTING_CDMA_BOOL -->
184    <bool name="config_show_apn_setting_cdma">false</bool>
185
186    <!-- Allows the telephony HFA logic to run even if we're not in setup wizard. -->
187    <bool name="config_allow_hfa_outside_of_setup_wizard">true</bool>
188
189    <!-- After a CDMA conference call is merged, the swap button should be displayed. -->
190    <bool name="support_swap_after_merge" translatable="false">true</bool>
191
192    <!-- Determine whether the voicemail notification is persistent in the notification bar.
193         If true, the voicemail notifications cannot be dismissed from the notification bar. -->
194    <bool name="voicemail_notification_persistent">false</bool>
195
196    <!-- Disables dialing "*228" (OTASP provisioning) on CDMA carriers where it is not supported or
197         is potentially harmful by locking the SIM to 3G. -->
198    <string name="config_disable_cdma_activation_code" translatable="false">false</string>
199
200    <!-- Flag indicating if SIM state should be checked before making an outgoing call. -->
201    <bool name="config_checkSimStateBeforeOutgoingCall">false</bool>
202    <!-- Package name for the SIM unlock dialog.[DO NOT TRANSLATE] -->
203    <string name="config_simUnlockUiPackage" translatable="false">@null</string>
204    <!-- Class name for the SIM unlock dialog.[DO NOT TRANSLATE] -->
205    <string name="config_simUnlockUiClass" translatable="false">@null</string>
206
207    <!-- Flag indicating whether to allow visual voicemail if available on the device.[DO NOT TRANSLATE] -->
208    <bool name="allow_visual_voicemail">true</bool>
209
210    <!-- The package to handle visual voicemail if the default dialer or the package
211    CarrierConfigManager.KEY_CARRIER_VVM_PACKAGE_NAME_STRING does not handle it -->
212    <string name="system_visual_voicemail_client" translatable="false"/>
213
214    <!-- Flag indicating whether to allow pstn phone accounts [DO NOT TRANSLATE] -->
215    <bool name="config_pstn_phone_accounts_enabled">true</bool>
216
217    <!-- Flag indicating whether the the emergency phone account should be emergency calls only -->
218    <bool name="config_emergency_account_emergency_calls_only">false</bool>
219
220    <!-- Whether the emergency only account can make emergency calls -->
221    <bool name="config_pstnCanPlaceEmergencyCalls">true</bool>
222
223    <!-- The package name for the platform carrier config app, bundled with system image. -->
224    <string name="platform_carrier_config_package" translatable="false">com.android.carrierconfig</string>
225
226    <!-- Flag indicating whether the TelephonyConnectionService supports the handover of calls from
227         the TelephonyConnectionService to another ConnectionService defined in the system.
228         Telecom performs the handover by placing a call using the "to" ConnectionService, and then
229         disconnecting the ongoing Telephony call when the call goes active. -->
230    <bool name="config_support_handover_from">false</bool>
231
232    <!-- Flag indicating whether the device supports RTT (real-time text) -->
233    <bool name="config_support_rtt">false</bool>
234
235    <!-- String indicating the package name of the device ImsService implementation for MMTEL. -->
236    <string name="config_ims_mmtel_package" translatable="false"/>
237
238    <!-- String indicating the package name of the device ImsService implementation for RCS. -->
239    <string name="config_ims_rcs_package" translatable="false"/>
240
241    <!-- The package name for the platform number verification supplier app. -->
242    <string name="platform_number_verification_package" translatable="false"></string>
243
244    <!-- Flag indicating whether a system app can use video calling fallback if carrier video
245         calling is not available. -->
246    <bool name="config_support_video_calling_fallback">true</bool>
247
248    <!-- Whether the cellular radio is allowed to be power down when the Bluetooth can provide the data/call capabilities -->
249    <bool name="config_allowRadioPowerDownOnBluetooth">false</bool>
250
251    <!-- Whether the device supports the AudioManager Telephony audio device and output onto this
252         device using {@link AudioDeviceInfo#TYPE_TELEPHONY}.
253         When this is true, the Telephony stack is able to add additional audio to the outgoing
254         audio stream which the remote party will be able to hear. -->
255    <bool name="config_support_telephony_audio_device">false</bool>
256
257    <!-- Whether the device supports dialing emergency RTT calls when there's no SIM card installed
258    -->
259    <bool name="config_support_simless_emergency_rtt">false</bool>
260
261    <!-- Array of countries that support sim-less emergency RTT calls. Values should be
262         ISO3166 country codes in lowercase. -->
263    <string-array name="config_simless_emergency_rtt_supported_countries" translatable="false">
264        <item>us</item>
265    </string-array>
266
267    <string-array translatable="false" name="config_volte_provision_error_on_publish_response">
268        <item>403 not authorized for presence</item>
269    </string-array>
270
271    <string-array translatable="false" name="config_rcs_provision_error_on_publish_response">
272        <item>404 not found</item>
273    </string-array>
274
275    <!-- The country list that shortcut view can be enabled. -->
276    <string-array name="config_countries_to_enable_shortcut_view" translatable="false">
277    </string-array>
278
279    <!-- When an emergency call is placed and the carrier supports network initiated SUPL requests
280         for location, this configuration dictates whether or not the modem supports SUPL requests
281         being handled on the logical slot that is not currently configured as the default data
282         slot. If true, telephony will always try to place the emergency call on the subscription
283         associated with default data first, instead of using the default voice configuration.-->
284    <bool name="config_gnss_supl_requires_default_data_for_emergency">false</bool>
285
286    <!-- Whether a device can have 5G connection in DSDS mode. It should be true by default, but
287         in some devices per modem limitation 5G network can't be connected if two or more SIMs
288         are active simultaneously. In that case, this value should be false. -->
289    <bool name="config_5g_connection_in_dsds_mode">true</bool>
290
291    <!-- Vibrator pattern to be used as the default for notifications
292         that specify DEFAULT_VIBRATE. -->
293    <integer-array name="config_defaultNotificationVibePattern">
294        <item>0</item>
295        <item>350</item>
296        <item>250</item>
297        <item>350</item>
298    </integer-array>
299
300    <!-- String indicating the package name of the device GbaService implementation. -->
301    <string name="config_gba_package" translatable="false"/>
302    <!-- The interval to release/unbind GbaService after the authentication request
303        by millisecond. -1 - no release, 0 - release immediately,
304        positive n - release in n milliseconds -->
305    <integer name="config_gba_release_time">0</integer>
306
307    <!-- Whether or not to support RCS User Capability Exchange -->
308    <bool name="config_rcs_user_capability_exchange_enabled">true</bool>
309
310    <!-- Whether or not to support device to device communication using RTP and DTMF communication
311         transports. -->
312    <bool name="config_use_device_to_device_communication">false</bool>
313
314    <!-- Whether or not to show notifications for when bluetooth connection is bad during a call -->
315    <bool name="enable_bluetooth_call_quality_notification">false</bool>
316
317    <!-- The package names which can request thermal mitigation. -->
318    <string-array name="thermal_mitigation_allowlisted_packages" translatable="false">
319    </string-array>
320
321    <!-- The package name of the app which hosts the
322         {@link TelecomManager#ACTION_SHOW_CALL_SETTINGS} settings screen. -->
323    <string name="call_settings_package_name">com.android.phone</string>
324</resources>
325