summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/current.txt3
-rw-r--r--telecomm/java/android/telecomm/TelecommConstants.java14
2 files changed, 13 insertions, 4 deletions
diff --git a/api/current.txt b/api/current.txt
index d3ae22d..8d0686a 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -25017,7 +25017,8 @@ package android.telecomm {
field public static final java.lang.String ACTION_INCOMING_CALL = "android.intent.action.INCOMING_CALL";
field public static final char DTMF_CHARACTER_PAUSE = 44; // 0x002c ','
field public static final char DTMF_CHARACTER_WAIT = 59; // 0x003b ';'
- field public static final java.lang.String EXTRA_CALL_ID = "android.telecomm.extra.CALL_ID";
+ field public static final java.lang.String EXTRA_CALL_DISCONNECT_CAUSE = "android.telecomm.extra.CALL_DISCONNECT_CAUSE";
+ field public static final java.lang.String EXTRA_CALL_DISCONNECT_MESSAGE = "android.telecomm.extra.CALL_DISCONNECT_MESSAGE";
field public static final java.lang.String EXTRA_CALL_SERVICE_DESCRIPTOR = "android.intent.extra.CALL_SERVICE_DESCRIPTOR";
field public static final java.lang.String EXTRA_INCOMING_CALL_EXTRAS = "android.intent.extra.INCOMING_CALL_EXTRAS";
}
diff --git a/telecomm/java/android/telecomm/TelecommConstants.java b/telecomm/java/android/telecomm/TelecommConstants.java
index c2cccf1..8300c92 100644
--- a/telecomm/java/android/telecomm/TelecommConstants.java
+++ b/telecomm/java/android/telecomm/TelecommConstants.java
@@ -70,10 +70,18 @@ public final class TelecommConstants {
"android.intent.extra.INCOMING_CALL_EXTRAS";
/**
- * Optional extra for {@link TelephonyManager#ACTION_PHONE_STATE_CHANGED} containing the unique
- * ID of the call.
+ * Optional extra for {@link TelephonyManager#ACTION_PHONE_STATE_CHANGED} containing the
+ * disconnect code.
*/
- public static final String EXTRA_CALL_ID = "android.telecomm.extra.CALL_ID";
+ public static final String EXTRA_CALL_DISCONNECT_CAUSE =
+ "android.telecomm.extra.CALL_DISCONNECT_CAUSE";
+
+ /**
+ * Optional extra for {@link TelephonyManager#ACTION_PHONE_STATE_CHANGED} containing the
+ * disconnect message.
+ */
+ public static final String EXTRA_CALL_DISCONNECT_MESSAGE =
+ "android.telecomm.extra.CALL_DISCONNECT_MESSAGE";
/**
* The dual tone multi-frequency signaling character sent to indicate the dialing system should