diff --git a/api/current.txt b/api/current.txt index 0d67271debf2f..9586d8ee7a01b 100644 --- a/api/current.txt +++ b/api/current.txt @@ -27466,6 +27466,8 @@ package android.telecomm { field public static final int MERGE_CALLS = 4; // 0x4 field public static final int MUTE = 64; // 0x40 field public static final int RESPOND_VIA_TEXT = 32; // 0x20 + field public static final int SUPPORTS_VT_LOCAL = 256; // 0x100 + field public static final int SUPPORTS_VT_REMOTE = 512; // 0x200 field public static final int SUPPORT_HOLD = 2; // 0x2 field public static final int SWAP_CALLS = 8; // 0x8 } diff --git a/telecomm/java/android/telecomm/CallCapabilities.java b/telecomm/java/android/telecomm/CallCapabilities.java index 2e0152af6f92e..924526eae9b33 100644 --- a/telecomm/java/android/telecomm/CallCapabilities.java +++ b/telecomm/java/android/telecomm/CallCapabilities.java @@ -42,6 +42,12 @@ public final class CallCapabilities { /** Call supports generic conference mode. */ public static final int GENERIC_CONFERENCE = 0x00000080; + /** Local device supports video telephony. */ + public static final int SUPPORTS_VT_LOCAL = 0x00000100; + + /** Remote device supports video telephony. */ + public static final int SUPPORTS_VT_REMOTE = 0x00000200; + public static final int ALL = HOLD | SUPPORT_HOLD | MERGE_CALLS | SWAP_CALLS | ADD_CALL | RESPOND_VIA_TEXT | MUTE | GENERIC_CONFERENCE; @@ -72,6 +78,12 @@ public final class CallCapabilities { if ((capabilities & GENERIC_CONFERENCE) != 0) { builder.append(" GENERIC_CONFERENCE"); } + if ((capabilities & SUPPORTS_VT_LOCAL) != 0) { + builder.append(" SUPPORTS_VT_LOCAL"); + } + if ((capabilities & SUPPORTS_VT_REMOTE) != 0) { + builder.append(" SUPPORTS_VT_REMOTE"); + } builder.append("]"); return builder.toString(); }