Add telecom extra keys required for DMR release.

Bug: 22848290
Change-Id: I3328234e3f07d83d0dbe5b61b959344b6cc5cc3f
This commit is contained in:
Tyler Gunn
2015-07-30 14:18:33 -07:00
parent 75e51ec0b1
commit 335ff2ec7a
4 changed files with 38 additions and 0 deletions

View File

@@ -252,6 +252,29 @@ public abstract class Connection extends Conferenceable {
// Next CAPABILITY value: 0x00400000
//**********************************************************************************************
/**
* Connection extra key used to store the last forwarded number associated with the current
* connection. Used to communicate to the user interface that the connection was forwarded via
* the specified number.
*/
public static final String EXTRA_LAST_FORWARDED_NUMBER =
"android.telecom.extra.LAST_FORWARDED_NUMBER";
/**
* Connection extra 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 (i.e. phone number) associated with the {@link PhoneAccount}'s primary
* address.
*/
public static final String EXTRA_CHILD_ADDRESS = "android.telecom.extra.CHILD_ADDRESS";
/**
* Connection extra key used to store the subject for an incoming call. The user interface can
* query this extra and display its contents for incoming calls. Will only be used if the
* {@link PhoneAccount} supports the capability {@link PhoneAccount#CAPABILITY_CALL_SUBJECT}.
*/
public static final String EXTRA_CALL_SUBJECT = "android.telecom.extra.CALL_SUBJECT";
// Flag controlling whether PII is emitted into the logs
private static final boolean PII_DEBUG = Log.isLoggable(android.util.Log.DEBUG);