summaryrefslogtreecommitdiffstats
path: root/telephony/java/com/android/internal/telephony/PhoneConstants.java
diff options
context:
space:
mode:
authorAmit Mahajan <amitmahajan@google.com>2016-01-14 06:26:26 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-01-14 06:26:26 +0000
commit658fdf8426e5c0fb68b7c04af651eae93a32b4b4 (patch)
tree69172f519b378fa37cfa25775a0380b3f22562e2 /telephony/java/com/android/internal/telephony/PhoneConstants.java
parentd5cea64d8d63e9ffb61af1e669962de08ea513cc (diff)
parent7e8b8f1734f357a66f350703b2a651525d69e99f (diff)
downloadframeworks_base-658fdf8426e5c0fb68b7c04af651eae93a32b4b4.zip
frameworks_base-658fdf8426e5c0fb68b7c04af651eae93a32b4b4.tar.gz
frameworks_base-658fdf8426e5c0fb68b7c04af651eae93a32b4b4.tar.bz2
Merge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1.5-dev
Diffstat (limited to 'telephony/java/com/android/internal/telephony/PhoneConstants.java')
-rw-r--r--telephony/java/com/android/internal/telephony/PhoneConstants.java23
1 files changed, 12 insertions, 11 deletions
diff --git a/telephony/java/com/android/internal/telephony/PhoneConstants.java b/telephony/java/com/android/internal/telephony/PhoneConstants.java
index 572cc6f..8bc1402 100644
--- a/telephony/java/com/android/internal/telephony/PhoneConstants.java
+++ b/telephony/java/com/android/internal/telephony/PhoneConstants.java
@@ -35,17 +35,17 @@ public class PhoneConstants {
IDLE, RINGING, OFFHOOK;
};
- /**
- * The state of a data connection.
- * <ul>
- * <li>CONNECTED = IP traffic should be available</li>
- * <li>CONNECTING = Currently setting up data connection</li>
- * <li>DISCONNECTED = IP not available</li>
- * <li>SUSPENDED = connection is created but IP traffic is
- * temperately not available. i.e. voice call is in place
- * in 2G network</li>
- * </ul>
- */
+ /**
+ * The state of a data connection.
+ * <ul>
+ * <li>CONNECTED = IP traffic should be available</li>
+ * <li>CONNECTING = Currently setting up data connection</li>
+ * <li>DISCONNECTED = IP not available</li>
+ * <li>SUSPENDED = connection is created but IP traffic is
+ * temperately not available. i.e. voice call is in place
+ * in 2G network</li>
+ * </ul>
+ */
public enum DataState {
CONNECTED, CONNECTING, DISCONNECTED, SUSPENDED;
};
@@ -86,6 +86,7 @@ public class PhoneConstants {
public static final String NETWORK_UNAVAILABLE_KEY = "networkUnvailable";
public static final String DATA_NETWORK_ROAMING_KEY = "networkRoaming";
public static final String PHONE_IN_ECM_STATE = "phoneinECMState";
+ public static final String PHONE_IN_EMERGENCY_CALL = "phoneInEmergencyCall";
public static final String REASON_LINK_PROPERTIES_CHANGED = "linkPropertiesChanged";