Adds CDMA Voice Privacy Property to Call

Adds the CDMA Enhanced Voice Privacy Property to a Call when it has been
enabled for the call by the network.

Bug: 26931679
Change-Id: I1f5b4a4fb22fe6aaaf0c424ef11925c6058c6e82
This commit is contained in:
Brad Ebinger
2016-05-18 11:08:36 -07:00
parent a5e81480b1
commit 15847070b5
5 changed files with 23 additions and 1 deletions

View File

@@ -334,9 +334,13 @@ public abstract class Connection extends Conferenceable {
*/
public static final int PROPERTY_IS_EXTERNAL_CALL = 1<<4;
/**
* Indicates that the connection has CDMA Enhanced Voice Privacy enabled.
*/
public static final int PROPERTY_HAS_CDMA_VOICE_PRIVACY = 1<<5;
//**********************************************************************************************
// Next PROPERTY value: 1<<5
// Next PROPERTY value: 1<<6
//**********************************************************************************************
/**
@@ -531,6 +535,10 @@ public abstract class Connection extends Conferenceable {
builder.append(" PROPERTY_IS_EXTERNAL_CALL");
}
if (can(properties, PROPERTY_HAS_CDMA_VOICE_PRIVACY)) {
builder.append(" PROPERTY_HAS_CDMA_VOICE_PRIVACY");
}
builder.append("]");
return builder.toString();
}