Mark DDS PhoneAccount as CAPABILITY_EMERGENCY_PREFERRED
On MSIM devices where GNSS SUPL is not supported for
emergency calls on the non-DDS subscription, mark the
DDS subscription as CAPABILITY_EMERGENCY_PREFERRED so
that Telecom will override the user's choice of
PhoneAccount and always try to place the emergency call
over the DDS subscription.
Note: We do not set this preference if the subscription is
marked as opportunistic. If the DDS is a data only SIM, we
will dial on the non-DDS when Telephony receives the
outgoing call request.
Bug: 131203278
Test: Manual Testing; atest FrameworkTelephonyTests
Change-Id: I6beb1955bb0aa4140e1ce5b17d51d249c4b85106
diff --git a/res/values/config.xml b/res/values/config.xml
index 6b6bf04..adabe6c 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -257,4 +257,11 @@
<!-- The country list that shortcut view can be enabled. -->
<string-array name="config_countries_to_enable_shortcut_view" translatable="false">
</string-array>
+
+ <!-- When an emergency call is placed and the carrier supports network initiated SUPL requests
+ for location, this configuration dictates whether or not the modem supports SUPL requests
+ being handled on the logical slot that is not currently configured as the default data
+ slot. If true, telephony will always try to place the emergency call on the subscription
+ associated with default data first, instead of using the default voice configuration.-->
+ <bool name="config_gnss_supl_requires_default_data_for_emergency">false</bool>
</resources>