diff options
author | Yorke Lee <yorkelee@google.com> | 2014-09-16 10:43:06 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-09-16 20:44:09 -0700 |
commit | 58bacc513c5e665c62e7d82cc6f39196b4ff4302 (patch) | |
tree | 16982568866e40eee2a229a41d5c5eb30381a2eb /telecomm | |
parent | 1c4eb10cc1159d5e029f982a629c5262419fa5ce (diff) | |
download | frameworks_base-58bacc513c5e665c62e7d82cc6f39196b4ff4302.zip frameworks_base-58bacc513c5e665c62e7d82cc6f39196b4ff4302.tar.gz frameworks_base-58bacc513c5e665c62e7d82cc6f39196b4ff4302.tar.bz2 |
Add playDtmfTone, stopDtmfTone and setAudioState to RemoteConference
Bug: 17512380
Change-Id: Ie26bef643bdec97f64247b5f8099f2676ae6c63e
Diffstat (limited to 'telecomm')
-rw-r--r-- | telecomm/java/android/telecom/RemoteConference.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/RemoteConference.java b/telecomm/java/android/telecom/RemoteConference.java index 0cf84d0..f931bc5 100644 --- a/telecomm/java/android/telecom/RemoteConference.java +++ b/telecomm/java/android/telecom/RemoteConference.java @@ -181,6 +181,27 @@ public final class RemoteConference { return mDisconnectCause; } + public void playDtmfTone(char digit) { + try { + mConnectionService.playDtmfTone(mId, digit); + } catch (RemoteException e) { + } + } + + public void stopDtmfTone() { + try { + mConnectionService.stopDtmfTone(mId); + } catch (RemoteException e) { + } + } + + public void setAudioState(AudioState state) { + try { + mConnectionService.onAudioStateChanged(mId, state); + } catch (RemoteException e) { + } + } + public final void registerCallback(Callback callback) { mCallbacks.add(callback); } |