From 379e5f0079d8031e44756d1fbf9b1a850363865e Mon Sep 17 00:00:00 2001 From: Hyunho Date: Wed, 11 Jan 2023 12:01:32 +0000 Subject: Add the feature tags for the pager mode, larege message mode, deffered messaging and large-pager mode. And the presence tuple of the standalone is added. Bug: b/262614903 Test: atest PublishServiceDescTrackerTest Test: In the live network, if there is the feature tag related to the standalone in the registered feature tags, the service id of standalone is included in the PIDF Change-Id: I2057c1a74e3db12d34b726c0cba7dfc26601bee5 Merged-In: I2057c1a74e3db12d34b726c0cba7dfc26601bee5 --- core/api/system-current.txt | 1 + .../java/android/telephony/ims/RcsContactPresenceTuple.java | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/core/api/system-current.txt b/core/api/system-current.txt index 49a5aa76a6ac..8a1d6f2c9fcf 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -14968,6 +14968,7 @@ package android.telephony.ims { field public static final String SERVICE_ID_POST_CALL = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.callunanswered"; field public static final String SERVICE_ID_SHARED_MAP = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.sharedmap"; field public static final String SERVICE_ID_SHARED_SKETCH = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.gsma.sharedsketch"; + field public static final String SERVICE_ID_SLM = "org.openmobilealliance:StandaloneMsg"; field public static final String TUPLE_BASIC_STATUS_CLOSED = "closed"; field public static final String TUPLE_BASIC_STATUS_OPEN = "open"; } diff --git a/telephony/java/android/telephony/ims/RcsContactPresenceTuple.java b/telephony/java/android/telephony/ims/RcsContactPresenceTuple.java index 6a6c3063483e..74bac22c4d00 100644 --- a/telephony/java/android/telephony/ims/RcsContactPresenceTuple.java +++ b/telephony/java/android/telephony/ims/RcsContactPresenceTuple.java @@ -147,7 +147,7 @@ public final class RcsContactPresenceTuple implements Parcelable { "org.3gpp.urn:urn-7:3gpp-application.ims.iari.rcs.chatbot"; /** - * The service ID used to indicate that the Standalone Messaging is available. + * The service ID used to indicate that the Chatbot using Standalone Messaging is available. *

* See the GSMA RCC.07 specification for more information. */ @@ -161,6 +161,14 @@ public final class RcsContactPresenceTuple implements Parcelable { */ public static final String SERVICE_ID_CHATBOT_ROLE = "org.gsma.rcs.isbot"; + /** + * The service ID used to indicate that the Standalone Messaging is available. + *

+ * See the GSMA RCC.07 RCS5_1_advanced_communications_specification_v4.0 specification + * for more information. + */ + public static final String SERVICE_ID_SLM = "org.openmobilealliance:StandaloneMsg"; + /** @hide */ @Retention(RetentionPolicy.SOURCE) @StringDef(prefix = "SERVICE_ID_", value = { @@ -177,7 +185,8 @@ public final class RcsContactPresenceTuple implements Parcelable { SERVICE_ID_SHARED_SKETCH, SERVICE_ID_CHATBOT, SERVICE_ID_CHATBOT_STANDALONE, - SERVICE_ID_CHATBOT_ROLE + SERVICE_ID_CHATBOT_ROLE, + SERVICE_ID_SLM }) public @interface ServiceId {} -- cgit v1.2.3-59-g8ed1b