• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.Settings$MobileNetworkActivity</string>
160    <!-- Class name for the SIMs settings activity [DO NOT TRANSLATE] -->
161    <string name="sims_settings_class" translatable="false">com.android.settings.Settings$MobileNetworkListActivity</string>
162
163    <!-- CDMA activation goes through HFA -->
164    <!-- DEPRECATED: Use CarrierConfigManager#KEY_USE_HFA_FOR_PROVISIONING_BOOL -->
165    <bool name="config_use_hfa_for_provisioning">false</bool>
166
167    <!-- CDMA activation goes through OTASP.
168        TODO: This should be combined with config_use_hfa_for_provisioning and implemented
169        as an enum (NONE, HFA, OTASP). -->
170    <!-- DEPRECATED: Use CarrierConfigManager#KEY_USE_OTASP_FOR_PROVISIONING_BOOL -->
171    <bool name="config_use_otasp_for_provisioning">false</bool>
172
173    <!-- Display carrier settings menu if true -->
174    <!-- DEPRECATED: Use CarrierConfigManager#KEY_CARRIER_SETTINGS_ENABLE_BOOL -->
175    <bool name="config_carrier_settings_enable">false</bool>
176    <!-- carrier settings menu -->
177    <string name="carrier_settings" translatable="false"></string>
178    <string name="carrier_settings_menu" translatable="false"></string>
179
180    <!-- Does not display additional call seting for IMS phone based on GSM Phone -->
181    <!-- DEPRECATED: Use CarrierConfigManager#KEY_ADDITIONAL_CALL_SETTING_BOOL -->
182    <bool name="config_additional_call_setting">true</bool>
183
184    <!-- Show APN Settings for some CDMA carriers -->
185    <!-- DEPRECATED: Use CarrierConfigManager#KEY_SHOW_APN_SETTING_CDMA_BOOL -->
186    <bool name="config_show_apn_setting_cdma">false</bool>
187
188    <!-- Allows the telephony HFA logic to run even if we're not in setup wizard. -->
189    <bool name="config_allow_hfa_outside_of_setup_wizard">true</bool>
190
191    <!-- After a CDMA conference call is merged, the swap button should be displayed. -->
192    <bool name="support_swap_after_merge" translatable="false">true</bool>
193
194    <!-- Determine whether the voicemail notification is persistent in the notification bar.
195         If true, the voicemail notifications cannot be dismissed from the notification bar. -->
196    <bool name="voicemail_notification_persistent">false</bool>
197
198    <!-- Disables dialing "*228" (OTASP provisioning) on CDMA carriers where it is not supported or
199         is potentially harmful by locking the SIM to 3G. -->
200    <string name="config_disable_cdma_activation_code" translatable="false">false</string>
201
202    <!-- Flag indicating if SIM state should be checked before making an outgoing call. -->
203    <bool name="config_checkSimStateBeforeOutgoingCall">false</bool>
204    <!-- Package name for the SIM unlock dialog.[DO NOT TRANSLATE] -->
205    <string name="config_simUnlockUiPackage" translatable="false">@null</string>
206    <!-- Class name for the SIM unlock dialog.[DO NOT TRANSLATE] -->
207    <string name="config_simUnlockUiClass" translatable="false">@null</string>
208
209    <!-- Flag indicating whether to allow visual voicemail if available on the device.[DO NOT TRANSLATE] -->
210    <bool name="allow_visual_voicemail">true</bool>
211
212    <!-- The package to handle visual voicemail if the default dialer or the package
213    CarrierConfigManager.KEY_CARRIER_VVM_PACKAGE_NAME_STRING does not handle it -->
214    <string name="system_visual_voicemail_client" translatable="false"/>
215
216    <!-- Flag indicating whether to allow pstn phone accounts [DO NOT TRANSLATE] -->
217    <bool name="config_pstn_phone_accounts_enabled">true</bool>
218
219    <!-- Flag indicating whether the the emergency phone account should be emergency calls only -->
220    <bool name="config_emergency_account_emergency_calls_only">false</bool>
221
222    <!-- Whether the emergency only account can make emergency calls -->
223    <bool name="config_pstnCanPlaceEmergencyCalls">true</bool>
224
225    <!-- The package name for the platform carrier config app, bundled with system image. -->
226    <string name="platform_carrier_config_package" translatable="false">com.android.carrierconfig</string>
227
228    <!-- Flag indicating whether the TelephonyConnectionService supports the handover of calls from
229         the TelephonyConnectionService to another ConnectionService defined in the system.
230         Telecom performs the handover by placing a call using the "to" ConnectionService, and then
231         disconnecting the ongoing Telephony call when the call goes active. -->
232    <bool name="config_support_handover_from">false</bool>
233
234    <!-- Flag indicating whether the device supports RTT (real-time text) -->
235    <bool name="config_support_rtt">false</bool>
236
237    <!-- String indicating the package name of the device ImsService implementation for MMTEL. -->
238    <string name="config_ims_mmtel_package" translatable="false"/>
239
240    <!-- String indicating the package name of the device ImsService implementation for RCS. -->
241    <string name="config_ims_rcs_package" translatable="false"/>
242
243    <!-- The package name for the platform number verification supplier app. -->
244    <string name="platform_number_verification_package" translatable="false"></string>
245
246    <!-- Flag indicating whether a system app can use video calling fallback if carrier video
247         calling is not available. -->
248    <bool name="config_support_video_calling_fallback">true</bool>
249
250    <!-- Whether the cellular radio is allowed to be power down when the Bluetooth can provide the data/call capabilities -->
251    <bool name="config_allowRadioPowerDownOnBluetooth">false</bool>
252
253    <!-- Whether the device supports the AudioManager Telephony audio device and output onto this
254         device using {@link AudioDeviceInfo#TYPE_TELEPHONY}.
255         When this is true, the Telephony stack is able to add additional audio to the outgoing
256         audio stream which the remote party will be able to hear. -->
257    <bool name="config_support_telephony_audio_device">false</bool>
258
259    <!-- Whether the device supports dialing emergency RTT calls when there's no SIM card installed
260    -->
261    <bool name="config_support_simless_emergency_rtt">false</bool>
262
263    <!-- Array of countries that support sim-less emergency RTT calls. Values should be
264         ISO3166 country codes in lowercase. -->
265    <string-array name="config_simless_emergency_rtt_supported_countries" translatable="false">
266        <item>us</item>
267    </string-array>
268
269    <string-array translatable="false" name="config_volte_provision_error_on_publish_response">
270        <item>403 not authorized for presence</item>
271    </string-array>
272
273    <string-array translatable="false" name="config_rcs_provision_error_on_publish_response">
274        <item>404 not found</item>
275    </string-array>
276
277    <!-- The country list that shortcut view can be enabled. -->
278    <string-array name="config_countries_to_enable_shortcut_view" translatable="false">
279    </string-array>
280
281    <!-- When an emergency call is placed and the carrier supports network initiated SUPL requests
282         for location, this configuration dictates whether or not the modem supports SUPL requests
283         being handled on the logical slot that is not currently configured as the default data
284         slot. If true, telephony will always try to place the emergency call on the subscription
285         associated with default data first, instead of using the default voice configuration.-->
286    <bool name="config_gnss_supl_requires_default_data_for_emergency">false</bool>
287
288    <!-- Whether a device can have 5G connection in DSDS mode. It should be true by default, but
289         in some devices per modem limitation 5G network can't be connected if two or more SIMs
290         are active simultaneously. In that case, this value should be false. -->
291    <bool name="config_5g_connection_in_dsds_mode">true</bool>
292
293    <!-- Vibrator pattern to be used as the default for notifications
294         that specify DEFAULT_VIBRATE. -->
295    <integer-array name="config_defaultNotificationVibePattern">
296        <item>0</item>
297        <item>350</item>
298        <item>250</item>
299        <item>350</item>
300    </integer-array>
301
302    <!-- String indicating the package name of the device GbaService implementation. -->
303    <string name="config_gba_package" translatable="false"/>
304    <!-- The interval to release/unbind GbaService after the authentication request
305        by millisecond. -1 - no release, 0 - release immediately,
306        positive n - release in n milliseconds -->
307    <integer name="config_gba_release_time">0</integer>
308
309    <!-- Whether or not to support RCS User Capability Exchange -->
310    <bool name="config_rcs_user_capability_exchange_enabled">true</bool>
311
312    <!-- Whether or not to support device to device communication using RTP and DTMF communication
313         transports. -->
314    <bool name="config_use_device_to_device_communication">false</bool>
315
316    <!-- Whether or not to show notifications for when bluetooth connection is bad during a call -->
317    <bool name="enable_bluetooth_call_quality_notification">false</bool>
318
319    <!-- The package names which can request thermal mitigation. -->
320    <string-array name="thermal_mitigation_allowlisted_packages" translatable="false">
321    </string-array>
322
323    <!-- Array of countries that active SIM is needed for emergency calls. Values should be
324         ISO3166 country codes in lowercase. -->
325    <string-array name="config_countries_require_sim_for_emergency" translatable="false">
326        <!-- b/177967010 -->
327        <item>jp</item>
328        <!-- b/230443699 -->
329        <item>in</item>
330        <item>sg</item>
331        <!-- b/198393826 -->
332        <item>de</item>
333        <!-- b/334773484 -->
334        <item>gb</item>
335        <item>fr</item>
336        <item>be</item>
337        <item>ro</item>
338        <item>si</item>
339        <item>hr</item>
340        <item>gr</item>
341        <item>bg</item>
342        <item>my</item>
343    </string-array>
344
345    <!-- Array of countries that a normal service capable subscription is preferred
346         for emergency calls. Values should be ISO3166 country codes in lowercase. -->
347    <string-array name="config_countries_prefer_normal_service_capable_subscription"
348            translatable="false">
349        <!-- b/317945295 -->
350        <item>in</item>
351        <item>sg</item>
352        <!-- b/341611911 -->
353        <item>my</item>
354    </string-array>
355
356    <!-- Array of countries that a CS preferred scan is preferred after CSFB failure
357         due to the failure of extended service request. Values should be ISO3166
358         country codes in lowercase. -->
359    <string-array name="config_countries_prefer_cs_preferred_scan_after_csfb_failure"
360            translatable="false">
361        <!-- b/300022457 -->
362        <item>us</item>
363    </string-array>
364
365    <!-- Array of countries that GERAN is preferred than UTRAN and EUTRAN when SIM is absent.
366         Values should be ISO3166 country codes in lowercase. -->
367    <string-array name="config_countries_prefer_geran_when_sim_absent"
368            translatable="false">
369        <!-- b/335537430 -->
370        <item>cn</item>
371    </string-array>
372
373    <!-- Dynamic routing of emergency calls: trying normal routing if it's available.
374         Otherwise, emergency routing. -->
375    <!-- TODO (b/346398725: temporary code, cleanup) -->
376    <bool name="dynamic_routing_emergency_enabled">false</bool>
377
378    <!-- Array of countries that the dynamic routing is supported.
379         Values should be ISO3166 country codes in lowercase. -->
380    <string-array name="config_countries_dynamic_routing_emergency_enabled"
381            translatable="false">
382    </string-array>
383
384    <!-- Array of emergency numbers for dynamic routing.
385         Values are the tuples of Country ISO, MNC, and numbers. -->
386    <string-array name="config_dynamic_routing_emergency_numbers"
387            translatable="false">
388    </string-array>
389
390    <!-- The component name(a flattened ComponentName string) for the telephony domain selection
391         service. The device should fallback to the modem based domain selection architecture
392         if this is not configured. -->
393    <string name="config_domain_selection_service_component_name" translatable="false"></string>
394
395    <!-- Whether to turn off OEM-enabled satellite during emergency call -->
396    <bool name="config_turn_off_oem_enabled_satellite_during_emergency_call">false</bool>
397
398    <!-- The timeout duration in milliseconds used to determine how long does it wait for modem to
399         get in-service state when dialing emergency routing emergency calls in airplane mode before
400         starting the call. If the value is 0, it doesn't wait and starts the call right after
401         turning radio power on. -->
402    <integer name="config_in_service_wait_timer_when_dialing_emergency_routing_ecc_in_apm">3000</integer>
403
404    <!-- Whether to turn off non-emergency nb iot ntn satellite for emergency call -->
405    <bool name="config_turn_off_non_emergency_nb_iot_ntn_satellite_for_emergency_call">true</bool>
406</resources>
407