add use_tel_uri_for_pidf_xml field for ATT-UCE 430
Add use_tel_uri_for_pidf_xml field for ATT-UCE 430
Set the added filed to false by defaut and true for ATT
If the field is true, get the first TEL URI from associated uris.
Bug: b/229669620
Test: PUBLISH - 200OK in the live network
Test: Set SIP and TEL URI to assoicated uris. Check whether the URI of the desired scheme is read according to the field value.
Change-Id: I5751c94904734514faf5b4c3c1545c40ed6e7dd5
Merged-In: I5751c94904734514faf5b4c3c1545c40ed6e7dd5
diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java
index e21301e..dba18fd 100644
--- a/telephony/java/android/telephony/CarrierConfigManager.java
+++ b/telephony/java/android/telephony/CarrierConfigManager.java
@@ -4980,6 +4980,20 @@
KEY_PREFIX + "use_sip_uri_for_presence_subscribe_bool";
/**
+ * Flag indicating whether or not to use TEL URI when setting the entity uri field and
+ * contact element of each tuple.
+ * When {@code true}, the device sets the entity uri field and contact element to be
+ * TEL URI.
+ * If the TEL URI does not exist, the first URI provided in p-associated-uri header is
+ * converted into a TEL URI.
+ * If {@code false}, if false, the first URI provided in the p-associated-uri header
+ * is used.
+ * @hide
+ */
+ public static final String KEY_USE_TEL_URI_FOR_PIDF_XML_BOOL =
+ KEY_PREFIX + "use_tel_uri_for_pidf_xml";
+
+ /**
* An integer key associated with the period of time in seconds the non-rcs capability
* information of each contact is cached on the device.
* <p>