Add EXTRA_HANDOVER_FROM_PHONE_ACCOUNT.

Used in handovers to tell the account we're handing over to which account
the call is from.

Test: Manual
Bug: 38027075
Change-Id: I9b61a5fce3e4f7344174a1b81f4964ca02b71ccd
This commit is contained in:
Tyler Gunn
2017-05-26 13:30:09 -07:00
parent 9a06d4bc77
commit 3af3869054

View File

@@ -368,6 +368,15 @@ public class TelecomManager {
*/
public static final String EXTRA_IS_HANDOVER = "android.telecom.extra.IS_HANDOVER";
/**
* Parcelable extra used with {@link #EXTRA_IS_HANDOVER} to indicate the source
* {@link PhoneAccountHandle} when initiating a handover which {@link ConnectionService}
* the handover is from.
* @hide
*/
public static final String EXTRA_HANDOVER_FROM_PHONE_ACCOUNT =
"android.telecom.extra.HANDOVER_FROM_PHONE_ACCOUNT";
/**
* Extra key specified in the {@link ConnectionRequest#getExtras()} when Telecom calls
* {@link ConnectionService#onCreateOutgoingConnection(PhoneAccountHandle, ConnectionRequest)}