Merge "Add support for network identified emergency calls."

am: 108349f8d6

Change-Id: I21ffa931cba06086ca8fd970a0172c282af03b3a
This commit is contained in:
Tyler Gunn
2018-09-24 16:14:14 -07:00
committed by android-build-merger
7 changed files with 54 additions and 2 deletions

View File

@@ -414,6 +414,13 @@ public abstract class Connection extends Conferenceable {
*/
public static final int PROPERTY_ASSISTED_DIALING_USED = 1 << 9;
/**
* Set by the framework to indicate that the network has identified a Connection as an emergency
* call.
* @hide
*/
public static final int PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL = 1 << 10;
//**********************************************************************************************
// Next PROPERTY value: 1<<10
//**********************************************************************************************
@@ -803,6 +810,10 @@ public abstract class Connection extends Conferenceable {
builder.append(isLong ? " PROPERTY_IS_RTT" : " rtt");
}
if (can(properties, PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL)) {
builder.append(isLong ? " PROPERTY_NETWORK_IDENTIFIED_EMERGENCY_CALL" : " ecall");
}
builder.append("]");
return builder.toString();
}