diff options
Diffstat (limited to 'telecomm/java/android/telecom/ConnectionServiceAdapter.java')
| -rw-r--r-- | telecomm/java/android/telecom/ConnectionServiceAdapter.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/ConnectionServiceAdapter.java b/telecomm/java/android/telecom/ConnectionServiceAdapter.java index c8cd3c0486fb..df7d539d1782 100644 --- a/telecomm/java/android/telecom/ConnectionServiceAdapter.java +++ b/telecomm/java/android/telecom/ConnectionServiceAdapter.java @@ -143,6 +143,21 @@ final class ConnectionServiceAdapter implements DeathRecipient { } /** + * Sets a call's state to pulling (e.g. a call with {@link Connection#PROPERTY_IS_EXTERNAL_CALL} + * is being pulled to the local device. + * + * @param callId The unique ID of the call whose state is changing to dialing. + */ + void setPulling(String callId) { + for (IConnectionServiceAdapter adapter : mAdapters) { + try { + adapter.setPulling(callId); + } catch (RemoteException e) { + } + } + } + + /** * Sets a call's state to disconnected. * * @param callId The unique ID of the call whose state is changing to disconnected. |
