From e9d85a07aac0360d59ab9bcfd5bdb2f674094840 Mon Sep 17 00:00:00 2001 From: Sailesh Nepal Date: Mon, 10 Mar 2014 19:12:37 -0700 Subject: Add constant for Call Id extra The extra will be used to include the call ID on phone state changes. Change-Id: I9edd0b6e017f8414fa3e148fd4d57958e2072184 --- telecomm/java/android/telecomm/TelecommConstants.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'telecomm') 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"; } -- cgit v1.1