<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2024 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- Phone app resources that may need to be customized
     for different hardware or product builds. -->
<resources>
    <!-- Dynamic routing of emergency calls: trying normal routing if it's available.
         Otherwise, emergency routing. -->
    <bool name="dynamic_routing_emergency_enabled">true</bool>

    <!-- Array of countries that the dynamic routing is supported.
         Values should be ISO3166 country codes in lowercase. -->
    <string-array name="config_countries_dynamic_routing_emergency_enabled"
            translatable="false">
        <item>in</item>
        <item>il</item>
        <item>tw</item>
        <item>sg</item>
        <item>ch</item>
        <item>sk</item>
        <item>pl</item>
        <item>si</item>
        <item>ba</item>
    </string-array>

    <!-- Array of emergency numbers for dynamic routing.
         Values are the tuples of Country ISO, MNC, and numbers. -->
    <string-array name="config_dynamic_routing_emergency_numbers"
      translatable="false">
        <item>in,,101,102,103,108</item>
        <item>il,,101,102</item>
        <item>tw,,110,119</item>
        <!-- b/343344830 -->
        <item>sg,01,995</item>
        <item>sg,02,995</item>
        <item>sg,03,995</item>
        <item>sg,10,995</item>
        <item>ch,,1414</item>
        <item>gp,,115,119,191,196,197,116000,116111,116117</item>
        <item>sk,,159</item>
        <item>pl,,984,985,986,987,989,991,992,993,994,995,996,997,998,999</item>
        <item>re,,115,119,191,196,197,116000,116111,116117</item>
        <item>si,,113</item>
        <item>ba,,122,123,124</item>
    </string-array>

    <!-- The component name(a flattened ComponentName string) for the telephony domain selection
         service. The device should fallback to the modem based domain selection architecture
         if this is not configured. -->
    <string name="config_domain_selection_service_component_name" translatable="false">com.android.phone/com.android.services.telephony.domainselection.TelephonyDomainSelectionService</string>
</resources>
