From 83edef2e8d62c53dec369075ea04c4611ab7c838 Mon Sep 17 00:00:00 2001 From: allenwtsu Date: Thu, 31 Oct 2019 18:34:49 +0800 Subject: [PATCH] [RCS] Add initial RcsFeature type Bug: 139260938 Test: Build pass Change-Id: I0ffcd11b0b8f92890b6667415311cffa7dadc913 --- .../java/android/telephony/ims/feature/RcsFeature.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/telephony/java/android/telephony/ims/feature/RcsFeature.java b/telephony/java/android/telephony/ims/feature/RcsFeature.java index f69b434eb120a..1feb3415b260f 100644 --- a/telephony/java/android/telephony/ims/feature/RcsFeature.java +++ b/telephony/java/android/telephony/ims/feature/RcsFeature.java @@ -197,11 +197,18 @@ public class RcsFeature extends ImsFeature { /** @hide*/ @Retention(RetentionPolicy.SOURCE) @IntDef(prefix = "CAPABILITY_TYPE_", flag = true, value = { + CAPABILITY_TYPE_NONE, CAPABILITY_TYPE_OPTIONS_UCE, CAPABILITY_TYPE_PRESENCE_UCE }) public @interface RcsImsCapabilityFlag {} + /** + * Undefined capability type for initialization + * @hide + */ + public static final int CAPABILITY_TYPE_NONE = 0; + /** * This carrier supports User Capability Exchange using SIP OPTIONS as defined by the * framework. If set, the RcsFeature should support capability exchange using SIP OPTIONS.