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()
This commit is contained in:
Hung-ying Tyan
2010-08-25 19:30:03 -07:00
committed by Android Git Automerger

View File

@@ -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;