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

Commit 8b5dd8c5 authored by Sailesh Nepal's avatar Sailesh Nepal Committed by Android (Google) Code Review
Browse files

Merge "API: Add call service handoff trigger"

parents 60c78f58 8b4818d9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -27598,6 +27598,7 @@ package android.telecomm {
  public final class CallServiceAdapter {
    method public void handleFailedOutgoingCall(android.telecomm.ConnectionRequest, int, java.lang.String);
    method public void handleSuccessfulOutgoingCall(java.lang.String);
    method public void handoffCall(java.lang.String);
    method public void notifyIncomingCall(android.telecomm.CallInfo);
    method public void onPostDialWait(java.lang.String, java.lang.String);
    method public void setActive(java.lang.String);
+12 −0
Original line number Diff line number Diff line
@@ -224,4 +224,16 @@ public final class CallServiceAdapter {
        } catch (RemoteException ignored) {
        }
    }

    /**
     * Instructs Telecomm to handoff the call to another call service.
     *
     * @param callId The identifier of the call to handoff.
     */
    public void handoffCall(String callId) {
        try {
            mAdapter.handoffCall(callId);
        } catch (RemoteException e) {
        }
    }
}
+2 −0
Original line number Diff line number Diff line
@@ -54,4 +54,6 @@ oneway interface ICallServiceAdapter {
    void removeCall(String callId);

    void onPostDialWait(String callId, String remaining);

    void handoffCall(String callId);
}