From 04ea7d3b7c0a4193a9fa715d1bd03c3bf9868d69 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Fri, 5 Jun 2015 15:59:18 -0700 Subject: Add telecom extra to specify handle for incoming call Bug: 19696065 Change-Id: Ie7c9e3f982808abd4944cfa7bd3c754b93479f84 --- telecomm/java/android/telecom/TelecomManager.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'telecomm') diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java index 3c8cc9a..fb0ecb0 100644 --- a/telecomm/java/android/telecom/TelecomManager.java +++ b/telecomm/java/android/telecom/TelecomManager.java @@ -159,6 +159,13 @@ public class TelecomManager { "android.telecom.extra.PHONE_ACCOUNT_HANDLE"; /** + * The extra used by a {@link ConnectionService} to provide the handle of the caller that + * has initiated a new incoming call. + */ + public static final String EXTRA_INCOMING_CALL_HANDLE = + "android.telecom.extra.INCOMING_CALL_HANDLE"; + + /** * Optional extra for {@link #ACTION_INCOMING_CALL} containing a {@link Bundle} which contains * metadata about the call. This {@link Bundle} will be returned to the * {@link ConnectionService}. -- cgit v1.1