summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-08-25 19:30:03 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-08-25 19:30:03 -0700
commitd06e641dbfbba672f17026c4a204c396f32a1ae1 (patch)
tree51fa54fff7bcc37ebe955fe4576ac99b50746db5 /telephony
parent5e0d833710aaba2562f39eb8021a4289bc3bcc5a (diff)
parent108a06c9fc0e4ac8c713fa38c490475d30a3cdcf (diff)
downloadframeworks_base-d06e641dbfbba672f17026c4a204c396f32a1ae1.zip
frameworks_base-d06e641dbfbba672f17026c4a204c396f32a1ae1.tar.gz
frameworks_base-d06e641dbfbba672f17026c4a204c396f32a1ae1.tar.bz2
am 108a06c9: Merge "CallManager: remove unused Phone argument from stopDtmf() and sendBurstDtmf()" into gingerbread
Merge commit '108a06c9fc0e4ac8c713fa38c490475d30a3cdcf' into gingerbread-plus-aosp * commit '108a06c9fc0e4ac8c713fa38c490475d30a3cdcf': CallManager: remove unused Phone argument from stopDtmf() and sendBurstDtmf()
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/CallManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/telephony/java/com/android/internal/telephony/CallManager.java b/telephony/java/com/android/internal/telephony/CallManager.java
index 980affa..12df44e 100644
--- a/telephony/java/com/android/internal/telephony/CallManager.java
+++ b/telephony/java/com/android/internal/telephony/CallManager.java
@@ -691,8 +691,8 @@ public final class CallManager {
* Stop the playing DTMF tone. Ignored if there is no playing DTMF
* tone or no active call.
*/
- public void stopDtmf(Phone phone) {
- phone.stopDtmf();
+ public void stopDtmf() {
+ if (hasActiveFgCall()) getFgPhone().stopDtmf();
}
/**
@@ -709,7 +709,7 @@ public final class CallManager {
* @param onComplete is the callback message when the action is processed by BP
*
*/
- public boolean sendBurstDtmf(Phone phone, String dtmfString, int on, int off, Message onComplete) {
+ public boolean sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) {
if (hasActiveFgCall()) {
getActiveFgCall().getPhone().sendBurstDtmf(dtmfString, on, off, onComplete);
return true;