From d644aef567decca5d6351bb4def4b4e65517836e Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Mon, 3 Nov 2014 11:29:44 -0800 Subject: Send DTMF tones for dialing call Fallback to active call only if outgoing call is not present. Bug: 18224969 Change-Id: Ic3238bf539fe2188dce8ed4010652a6fc26a6435 --- InCallUI/src/com/android/incallui/DialpadPresenter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'InCallUI/src/com/android/incallui/DialpadPresenter.java') diff --git a/InCallUI/src/com/android/incallui/DialpadPresenter.java b/InCallUI/src/com/android/incallui/DialpadPresenter.java index d76e6e9b7..c4ee02102 100644 --- a/InCallUI/src/com/android/incallui/DialpadPresenter.java +++ b/InCallUI/src/com/android/incallui/DialpadPresenter.java @@ -30,7 +30,7 @@ public class DialpadPresenter extends Presenter public void onUiReady(DialpadUi ui) { super.onUiReady(ui); InCallPresenter.getInstance().addListener(this); - mCall = CallList.getInstance().getActiveCall(); + mCall = CallList.getInstance().getOutgoingOrActive(); } @Override @@ -42,7 +42,7 @@ public class DialpadPresenter extends Presenter @Override public void onStateChange(InCallPresenter.InCallState oldState, InCallPresenter.InCallState newState, CallList callList) { - mCall = callList.getActiveCall(); + mCall = callList.getOutgoingOrActive(); Log.d(this, "DialpadPresenter mCall = " + mCall); } -- cgit v1.2.3