Enable EMERGENCY mobile connections.
Hooks the ConnectivityManager.TYPE_MOBILE_EMERGENCY, PhoneConstants.APN_TYPE_EMERGENCY, and NetworkCapabilities.NET_CAPABILITY_EIMS together so carrier apps can request connections to this APN. bug:21785357 Change-Id: Id92a5e28d19407cc7a8f8b5478b23457f2f7f89d
This commit is contained in:
@@ -432,7 +432,8 @@ public class ConnectivityManager {
|
||||
public static final int TYPE_MOBILE_IA = 14;
|
||||
|
||||
/**
|
||||
* Emergency PDN connection for emergency calls
|
||||
* Emergency PDN connection for emergency services. This
|
||||
* may include IMS and MMS in emergency situations.
|
||||
* {@hide}
|
||||
*/
|
||||
public static final int TYPE_MOBILE_EMERGENCY = 15;
|
||||
|
||||
@@ -133,7 +133,8 @@ public final class NetworkCapabilities implements Parcelable {
|
||||
|
||||
/**
|
||||
* Indicates this is a network that has the ability to reach a carrier's
|
||||
* Emergency IMS servers, used for network signaling during emergency calls.
|
||||
* Emergency IMS servers or other services, used for network signaling
|
||||
* during emergency calls.
|
||||
*/
|
||||
public static final int NET_CAPABILITY_EIMS = 10;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user