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

Commit 10d67ed1 authored by Sonalika Paul's avatar Sonalika Paul
Browse files

IMS: Explicit Call transfer APIS.

Test: Manual
Bug: 62170207
Change-Id: I136ffb1d5b4df9de9be0406d6d5ebd33ef7a97ac
parent 50665529
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -683,5 +683,32 @@ public class ImsCallSessionListener {
            e.rethrowFromSystemServer();
        }
    }

    /**
     * Notifies the result of transfer request.
     * @hide
     */
    public void callSessionTransferred() {
        try {
            mListener.callSessionTransferred();
        } catch (RemoteException e) {
            e.rethrowFromSystemServer();
        }
    }

    /**
     * Notifies the result of transfer request.
     *
     * @param reasonInfo {@link ImsReasonInfo} containing a reason for the
     * session transfer failure
     * @hide
     */
    public void callSessionTransferFailed(ImsReasonInfo reasonInfo) {
        try {
            mListener.callSessionTransferFailed(reasonInfo);
        } catch (RemoteException e) {
            e.rethrowFromSystemServer();
        }
    }
}