summaryrefslogtreecommitdiffstats
path: root/telecomm/java
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-06-05 15:59:18 -0700
committerYorke Lee <yorkelee@google.com>2015-06-05 16:00:12 -0700
commit04ea7d3b7c0a4193a9fa715d1bd03c3bf9868d69 (patch)
tree6a5b758459abb10f23a6bf9596bd92ade7308cdb /telecomm/java
parent581cc1ee59d01fe4b4a31618ab4aedfa639e42b0 (diff)
downloadframeworks_base-04ea7d3b7c0a4193a9fa715d1bd03c3bf9868d69.zip
frameworks_base-04ea7d3b7c0a4193a9fa715d1bd03c3bf9868d69.tar.gz
frameworks_base-04ea7d3b7c0a4193a9fa715d1bd03c3bf9868d69.tar.bz2
Add telecom extra to specify handle for incoming call
Bug: 19696065 Change-Id: Ie7c9e3f982808abd4944cfa7bd3c754b93479f84
Diffstat (limited to 'telecomm/java')
-rw-r--r--telecomm/java/android/telecom/TelecomManager.java7
1 files changed, 7 insertions, 0 deletions
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}.