From d91518e463023f1e9cc703189fbc5e8f3e87b0b3 Mon Sep 17 00:00:00 2001 From: Hyunho Date: Wed, 4 May 2022 22:45:01 +0000 Subject: [PATCH] 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 --- .../android/telephony/CarrierConfigManager.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index e21301eb32af1..dba18fda31d31 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -4979,6 +4979,20 @@ public class CarrierConfigManager { public static final String KEY_USE_SIP_URI_FOR_PRESENCE_SUBSCRIBE_BOOL = 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.