Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06ae75bf authored by Hall Liu's avatar Hall Liu
Browse files

Fix issues associated with hold failure

Add new connection event to indicate hold failure

Fixes: 128275255
Test: manual
Change-Id: I2678cda12d7703eba37d3feca3a8d98b21c050b1
parent 6d80c7a6
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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.