summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2015-07-09 14:49:35 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2015-07-09 14:49:35 -0700
commit4bd4389616fae01439a44920286a70806526d8c0 (patch)
tree5e057d45f7b3214a79ca8885100c3881a0723315 /telephony
parent15d1c1c95b3d8f25aad81dfdc2fc55028968242e (diff)
downloadframeworks_base-4bd4389616fae01439a44920286a70806526d8c0.zip
frameworks_base-4bd4389616fae01439a44920286a70806526d8c0.tar.gz
frameworks_base-4bd4389616fae01439a44920286a70806526d8c0.tar.bz2
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
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/PhoneConstants.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/PhoneConstants.java b/telephony/java/com/android/internal/telephony/PhoneConstants.java
index 2a4032c..572cc6f 100644
--- a/telephony/java/com/android/internal/telephony/PhoneConstants.java
+++ b/telephony/java/com/android/internal/telephony/PhoneConstants.java
@@ -133,7 +133,8 @@ public class PhoneConstants {
public static final String APN_TYPE_CBS = "cbs";
/** APN type for IA Initial Attach APN */
public static final String APN_TYPE_IA = "ia";
- /** APN type for IA Emergency PDN */
+ /** APN type for Emergency PDN. This is not an IA apn, but is used
+ * for access to carrier services in an emergency call situation. */
public static final String APN_TYPE_EMERGENCY = "emergency";
public static final int RIL_CARD_MAX_APPS = 8;