Loading telecomm/java/android/telecom/CallRedirectionService.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -119,18 +119,18 @@ public abstract class CallRedirectionService extends Service { * {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)}. The response corresponds to the * {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)}. The response corresponds to the * latest request via {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)}. * latest request via {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)}. * * * @param handle the new phone number to dial * @param gatewayUri the gateway uri for call redirection. * @param targetPhoneAccount the {@link PhoneAccountHandle} to use when placing the call. * @param targetPhoneAccount the {@link PhoneAccountHandle} to use when placing the call. * @param confirmFirst Telecom will ask users to confirm the redirection via a yes/no dialog * @param confirmFirst Telecom will ask users to confirm the redirection via a yes/no dialog * if the confirmFirst is true, and if the redirection request of this * if the confirmFirst is true, and if the redirection request of this * response was sent with a true flag of allowInteractiveResponse via * response was sent with a true flag of allowInteractiveResponse via * {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)} * {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)} */ */ public final void redirectCall(@NonNull Uri handle, public final void redirectCall(@NonNull Uri gatewayUri, @NonNull PhoneAccountHandle targetPhoneAccount, @NonNull PhoneAccountHandle targetPhoneAccount, boolean confirmFirst) { boolean confirmFirst) { try { try { mCallRedirectionAdapter.redirectCall(handle, targetPhoneAccount, confirmFirst); mCallRedirectionAdapter.redirectCall(gatewayUri, targetPhoneAccount, confirmFirst); } catch (RemoteException e) { } catch (RemoteException e) { e.rethrowAsRuntimeException(); e.rethrowAsRuntimeException(); } } Loading Loading
telecomm/java/android/telecom/CallRedirectionService.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -119,18 +119,18 @@ public abstract class CallRedirectionService extends Service { * {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)}. The response corresponds to the * {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)}. The response corresponds to the * latest request via {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)}. * latest request via {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)}. * * * @param handle the new phone number to dial * @param gatewayUri the gateway uri for call redirection. * @param targetPhoneAccount the {@link PhoneAccountHandle} to use when placing the call. * @param targetPhoneAccount the {@link PhoneAccountHandle} to use when placing the call. * @param confirmFirst Telecom will ask users to confirm the redirection via a yes/no dialog * @param confirmFirst Telecom will ask users to confirm the redirection via a yes/no dialog * if the confirmFirst is true, and if the redirection request of this * if the confirmFirst is true, and if the redirection request of this * response was sent with a true flag of allowInteractiveResponse via * response was sent with a true flag of allowInteractiveResponse via * {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)} * {@link #onPlaceCall(Uri, PhoneAccountHandle, boolean)} */ */ public final void redirectCall(@NonNull Uri handle, public final void redirectCall(@NonNull Uri gatewayUri, @NonNull PhoneAccountHandle targetPhoneAccount, @NonNull PhoneAccountHandle targetPhoneAccount, boolean confirmFirst) { boolean confirmFirst) { try { try { mCallRedirectionAdapter.redirectCall(handle, targetPhoneAccount, confirmFirst); mCallRedirectionAdapter.redirectCall(gatewayUri, targetPhoneAccount, confirmFirst); } catch (RemoteException e) { } catch (RemoteException e) { e.rethrowAsRuntimeException(); e.rethrowAsRuntimeException(); } } Loading