Replace hard-coded configuration with resource configuration
Bug: 309951867
Test: atest EmergencyCallDomainSelectorTest
Change-Id: I154327e6d1db96570431d7b8c9b6f1872e6706c0
diff --git a/res/values/config.xml b/res/values/config.xml
index ba65302..939faa7 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -318,6 +318,18 @@
<string-array name="thermal_mitigation_allowlisted_packages" translatable="false">
</string-array>
+ <!-- Array of countries that active SIM is needed for emergency calls. Values should be
+ ISO3166 country codes in lowercase. -->
+ <string-array name="config_countries_require_sim_for_emergency" translatable="false">
+ <!-- b/177967010 -->
+ <item>jp</item>
+ <!-- b/230443699 -->
+ <item>in</item>
+ <item>sg</item>
+ <!-- b/198393826 -->
+ <item>de</item>
+ </string-array>
+
<!-- Flag specifying whether the AOSP domain selection is enabled or
the device should fallback to the modem based domain selection architecture. -->
<bool name="config_enable_aosp_domain_selection">false</bool>