Enable shortcut view for only specific countries.
- It's impossible to test emergency numbers of all countries in the
world at once. Shortcut view should be enabled for countries which
has been, or is going to be tested.
- There are some countries where the combination of categories has a
meaning. That is, a emergency number labeled with POLICE+FIRE may
actually equal to "poison control" in a specific country. Since
DATABASE source should contain normalized categories, and also should
be well tested before shipping, the concern is eased.
Bug: 123564553
Bug: 123556446
Test: Manually
Change-Id: I9eb8225e23a9049d2e2ab39009b7dc1817351214
diff --git a/res/values/config.xml b/res/values/config.xml
index b1f8ae8..6b6bf04 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -254,6 +254,7 @@
<!-- Intent action to launch target emergency app. -->
<string name="config_emergency_app_intent" translatable="false"></string>
- <!-- Flag indicating whether shortcut view of promoted emergency numbers should be enabled. -->
- <bool name="config_emergency_shortcut_view_enabled">false</bool>
+ <!-- The country list that shortcut view can be enabled. -->
+ <string-array name="config_countries_to_enable_shortcut_view" translatable="false">
+ </string-array>
</resources>