From 91b4a5803e9e86195b1dc1c0408ef13799bc8d04 Mon Sep 17 00:00:00 2001 From: Christine Chen Date: Thu, 19 Sep 2013 16:42:28 -0700 Subject: Hides dialpad on incoming call. Bug: 10842639 Change-Id: Ia014bdc85128a4838b3dfcf7e67bb93c8a7725d9 --- InCallUI/src/com/android/incallui/CallButtonPresenter.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/InCallUI/src/com/android/incallui/CallButtonPresenter.java b/InCallUI/src/com/android/incallui/CallButtonPresenter.java index 4de129d14..74aff5388 100644 --- a/InCallUI/src/com/android/incallui/CallButtonPresenter.java +++ b/InCallUI/src/com/android/incallui/CallButtonPresenter.java @@ -19,6 +19,7 @@ package com.android.incallui; import com.android.incallui.AudioModeProvider.AudioModeListener; import com.android.incallui.InCallPresenter.InCallState; import com.android.incallui.InCallPresenter.InCallStateListener; +import com.android.incallui.InCallPresenter.IncomingCallListener; import com.android.services.telephony.common.AudioMode; import com.android.services.telephony.common.Call; import com.android.services.telephony.common.Call.Capabilities; @@ -29,7 +30,7 @@ import android.telephony.PhoneNumberUtils; * Logic for call buttons. */ public class CallButtonPresenter extends Presenter - implements InCallStateListener, AudioModeListener { + implements InCallStateListener, AudioModeListener, IncomingCallListener { private Call mCall; private ProximitySensor mProximitySensor; @@ -50,6 +51,7 @@ public class CallButtonPresenter extends Presenter