Further handover support changes.
Add handover extras key used when initiating handover. Add handover complete / fail connection events which are sent to the initiating IncallService when a handover is complete or fails. Adding PhoneAccount extra to indicate that a self-managed CS should have its calls logged to the call log. Test: Manual Bug: 37102939 Change-Id: Icbb6f1addf913de841a9c48089a7d8311668f3bc
This commit is contained in:
@@ -551,6 +551,24 @@ public abstract class Connection extends Conferenceable {
|
||||
public static final String EVENT_CALL_REMOTELY_UNHELD =
|
||||
"android.telecom.event.CALL_REMOTELY_UNHELD";
|
||||
|
||||
/**
|
||||
* Connection event used to inform an {@link InCallService} which initiated a call handover via
|
||||
* {@link Call#EVENT_REQUEST_HANDOVER} that the handover from this {@link Connection} has
|
||||
* successfully completed.
|
||||
* @hide
|
||||
*/
|
||||
public static final String EVENT_HANDOVER_COMPLETE =
|
||||
"android.telecom.event.HANDOVER_COMPLETE";
|
||||
|
||||
/**
|
||||
* Connection event used to inform an {@link InCallService} which initiated a call handover via
|
||||
* {@link Call#EVENT_REQUEST_HANDOVER} that the handover from this {@link Connection} has failed
|
||||
* to complete.
|
||||
* @hide
|
||||
*/
|
||||
public static final String EVENT_HANDOVER_FAILED =
|
||||
"android.telecom.event.HANDOVER_FAILED";
|
||||
|
||||
// Flag controlling whether PII is emitted into the logs
|
||||
private static final boolean PII_DEBUG = Log.isLoggable(android.util.Log.DEBUG);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user