Add telecom extra to specify handle for incoming call

Bug: 19696065
Change-Id: Ie7c9e3f982808abd4944cfa7bd3c754b93479f84
This commit is contained in:
Yorke Lee
2015-06-05 15:59:18 -07:00
parent 581cc1ee59
commit 04ea7d3b7c
3 changed files with 9 additions and 0 deletions

View File

@@ -158,6 +158,13 @@ public class TelecomManager {
public static final String EXTRA_PHONE_ACCOUNT_HANDLE =
"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