Merge "IMS: Explicit Call transfer APIS."

This commit is contained in:
Tyler Gunn
2020-04-24 16:29:51 +00:00
committed by Gerrit Code Review

View File

@@ -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();
}
}
}