From 0072090230ff9110fbb1c6f71cc535430e46b51d Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Fri, 24 Jul 2015 10:53:25 -0700 Subject: Add child_address call extra. Used to pass the child number up from IMS to InCall via extras. Bug: 22685113 Change-Id: I8990e4e74be5052f5ff840f8277abd2df1cb4c9d --- telecomm/java/android/telecom/Connection.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'telecomm') diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index 2ab6d56..26477ce 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -257,7 +257,16 @@ public abstract class Connection extends Conferenceable { * The value for this key should be an ArrayList of Strings. * @hide */ - public static final String EXTRA_CALL_HISTORY_INFO = "EXTRA_CALL_HISTORY_INFO"; + public static final String EXTRA_CALL_HISTORY_INFO = "android.telecom.EXTRA_CALL_HISTORY_INFO"; + + /** + * Connection {@link #mExtras} key used to store a child number associated with the current + * connection. Used to communicate to the user interface that the connection was received via + * a child address (in telephony phone number) associated with the {@link PhoneAccount}'s + * primary address. + * @hide + */ + public static final String EXTRA_CHILD_ADDRESS = "android.telecom.EXTRA_CHILD_ADDRESS"; // Flag controlling whether PII is emitted into the logs private static final boolean PII_DEBUG = Log.isLoggable(android.util.Log.DEBUG); -- cgit v1.1