summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/current.txt1
-rw-r--r--telecomm/java/android/telecomm/TelecommConstants.java6
2 files changed, 7 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 31d0c6c..a02db74 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -24441,6 +24441,7 @@ package android.telecomm {
public final class TelecommConstants {
ctor public TelecommConstants();
field public static final java.lang.String ACTION_INCOMING_CALL = "android.intent.action.INCOMING_CALL";
+ field public static final java.lang.String EXTRA_CALL_ID = "android.telecomm.extra.CALL_ID";
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 564f0cb..08f39e3 100644
--- a/telecomm/java/android/telecomm/TelecommConstants.java
+++ b/telecomm/java/android/telecomm/TelecommConstants.java
@@ -52,4 +52,10 @@ public final class TelecommConstants {
*/
public static final String EXTRA_INCOMING_CALL_EXTRAS =
"android.intent.extra.INCOMING_CALL_EXTRAS";
+
+ /**
+ * Optional extra for {@link TelephonyManager.ACTION_PHONE_STATE_CHANGED} containing the unique
+ * ID of the call.
+ */
+ public static final String EXTRA_CALL_ID = "android.telecomm.extra.CALL_ID";
}