summaryrefslogtreecommitdiffstats
path: root/telecomm
diff options
context:
space:
mode:
authorRavindra <c_rthat@codeaurora.org>2015-07-31 14:16:14 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:27:03 -0600
commitc11d44b71a3fc473f9c47fb39d0930f946986400 (patch)
treee1b9e89fd0526aea6321120c5ffbe7c1af2aff68 /telecomm
parent71d6acbfd1a726e8722e4e0f32f20b7bb21b6656 (diff)
downloadframeworks_base-c11d44b71a3fc473f9c47fb39d0930f946986400.zip
frameworks_base-c11d44b71a3fc473f9c47fb39d0930f946986400.tar.gz
frameworks_base-c11d44b71a3fc473f9c47fb39d0930f946986400.tar.bz2
Add voice privacy capability
Define voice privacy capability for the connection and for the call. Change-Id: I3b2f5fa776f0c869941f49b9c9b20751ddad058a
Diffstat (limited to 'telecomm')
-rw-r--r--telecomm/java/android/telecom/Call.java9
-rw-r--r--telecomm/java/android/telecom/Connection.java5
2 files changed, 14 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Call.java b/telecomm/java/android/telecom/Call.java
index f149f24..8e2af98 100644
--- a/telecomm/java/android/telecom/Call.java
+++ b/telecomm/java/android/telecom/Call.java
@@ -206,6 +206,12 @@ public final class Call {
*/
public static final int CAPABILITY_CAN_PAUSE_VIDEO = 0x00100000;
+ /**
+ * Call has voice privacy capability.
+ * @hide
+ */
+ public static final int CAPABILITY_VOICE_PRIVACY = 0x00400000;
+
//******************************************************************************************
// Next CAPABILITY value: 0x00004000
//******************************************************************************************
@@ -333,6 +339,9 @@ public final class Call {
if (can(capabilities, CAPABILITY_CAN_PAUSE_VIDEO)) {
builder.append(" CAPABILITY_CAN_PAUSE_VIDEO");
}
+ if (can(capabilities, CAPABILITY_VOICE_PRIVACY)) {
+ builder.append(" CAPABILITY_VOICE_PRIVACY");
+ }
builder.append("]");
return builder.toString();
}
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index df69f23..a52ea3f 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -247,6 +247,11 @@ public abstract class Connection extends Conferenceable {
* @hide
*/
public static final int CAPABILITY_CONFERENCE_HAS_NO_CHILDREN = 0x00200000;
+ /**
+ * Call has voice privacy capability.
+ * @hide
+ */
+ public static final int CAPABILITY_VOICE_PRIVACY = 0x00400000;
//**********************************************************************************************
// Next CAPABILITY value: 0x00400000