From 1c22bde38cd15919e91afb0f12c558aa66f0bc91 Mon Sep 17 00:00:00 2001 From: Santos Cordon Date: Sun, 15 Sep 2013 17:33:09 -0700 Subject: CallCardPresenter should listen for Call Waiting Regression from recent change to only update UI with incoming calls using the onIncomingCall callback. The CallCardPresenter wasn't listening for that specific change so call-waiting calls were not displaying "incoming call" label. Change-Id: I6a732585509c1e27e7ecf5805cb17ea8e7f043ed --- InCallUI/src/com/android/incallui/InCallPresenter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'InCallUI/src/com/android/incallui/InCallPresenter.java') diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index 47b0871ae..cecc790f3 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -197,7 +197,7 @@ public class InCallPresenter implements CallList.Listener { mInCallState = newState; for (IncomingCallListener listener : mIncomingCallListeners) { - listener.onIncomingCall(call); + listener.onIncomingCall(mInCallState, call); } } @@ -500,6 +500,6 @@ public class InCallPresenter implements CallList.Listener { } public interface IncomingCallListener { - public void onIncomingCall(Call call); + public void onIncomingCall(InCallState state, Call call); } } -- cgit v1.2.3