Fix issues associated with hold failure

Add new connection event to indicate hold failure

Fixes: 128275255
Test: manual
Change-Id: I2678cda12d7703eba37d3feca3a8d98b21c050b1
This commit is contained in:
Hall Liu
2019-03-11 19:11:35 -07:00
parent 6d80c7a6e4
commit 06ae75bf51

View File

@@ -554,6 +554,15 @@ public abstract class Connection extends Conferenceable {
*/
public static final String EVENT_CALL_MERGE_FAILED = "android.telecom.event.CALL_MERGE_FAILED";
/**
* Connection event used to inform Telecom when a hold operation on a call has failed.
* Not intended for use by the UI at this time.
* Sent via {@link #sendConnectionEvent(String, Bundle)}. The {@link Bundle} parameter is
* expected to be null when this connection event is used.
* @hide
*/
public static final String EVENT_CALL_HOLD_FAILED = "android.telecom.event.CALL_HOLD_FAILED";
/**
* Connection event used to inform {@link InCallService}s when the process of merging a
* Connection into a conference has begun.