summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hyunho <hhshin@google.com> 2022-01-11 06:00:52 +0000
committer Hyunho <hhshin@google.com> 2022-01-18 23:32:29 +0000
commit5f0851dfe8c0f2ea21ecebdaed12156d231d3c68 (patch)
tree042f553bde6a7cb111eeed1f306bb28d3acfc676
parentcd88027c3eb12baaefbee93b95f088d2611e18e4 (diff)
Add new publish trigger type
Add a new type that is registered to IMS via Internet. Bug: b/213613736 Test: Build Change-Id: I6d4802ff12e4b3594cc81903cd83b6f9af6b88b0
-rw-r--r--core/api/system-current.txt1
-rw-r--r--telephony/java/android/telephony/ims/RcsUceAdapter.java10
2 files changed, 10 insertions, 1 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt
index e26d3c419039..c8842af4ba07 100644
--- a/core/api/system-current.txt
+++ b/core/api/system-current.txt
@@ -14380,6 +14380,7 @@ package android.telephony.ims {
field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_3G = 6; // 0x6
field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_EHRPD = 4; // 0x4
field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_HSPAPLUS = 5; // 0x5
+ field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_INTERNET_PDN = 12; // 0xc
field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_IWLAN = 9; // 0x9
field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_LTE_VOPS_DISABLED = 2; // 0x2
field public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_LTE_VOPS_ENABLED = 3; // 0x3
diff --git a/telephony/java/android/telephony/ims/RcsUceAdapter.java b/telephony/java/android/telephony/ims/RcsUceAdapter.java
index 61de3ac2b25e..154bb11db5e3 100644
--- a/telephony/java/android/telephony/ims/RcsUceAdapter.java
+++ b/telephony/java/android/telephony/ims/RcsUceAdapter.java
@@ -268,6 +268,13 @@ public class RcsUceAdapter {
@SystemApi
public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_NR5G_VOPS_ENABLED = 11;
+ /**
+ * A capability update has been requested due to IMS being registered over INTERNET PDN.
+ * @hide
+ */
+ @SystemApi
+ public static final int CAPABILITY_UPDATE_TRIGGER_MOVE_TO_INTERNET_PDN = 12;
+
/**@hide*/
@Retention(RetentionPolicy.SOURCE)
@IntDef(prefix = "ERROR_", value = {
@@ -282,7 +289,8 @@ public class RcsUceAdapter {
CAPABILITY_UPDATE_TRIGGER_MOVE_TO_WLAN,
CAPABILITY_UPDATE_TRIGGER_MOVE_TO_IWLAN,
CAPABILITY_UPDATE_TRIGGER_MOVE_TO_NR5G_VOPS_DISABLED,
- CAPABILITY_UPDATE_TRIGGER_MOVE_TO_NR5G_VOPS_ENABLED
+ CAPABILITY_UPDATE_TRIGGER_MOVE_TO_NR5G_VOPS_ENABLED,
+ CAPABILITY_UPDATE_TRIGGER_MOVE_TO_INTERNET_PDN
})
public @interface StackPublishTriggerType {}