From 4c058612097eba72b33d83f5612012a90167957a Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Mon, 11 May 2015 12:42:47 -0700 Subject: Show end call button for disconnecting calls Bug: 21017840 Change-Id: I05a239db26b7c47a744b96549fb1b7e5440a824c --- InCallUI/src/com/android/incallui/CallCardPresenter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'InCallUI/src') diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index b233ad56b..7918d22cc 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -805,7 +805,8 @@ public class CallCardPresenter extends Presenter if (primary == null) { return false; } - if (!Call.State.isConnectingOrConnected(callState) || callState == Call.State.INCOMING) { + if ((!Call.State.isConnectingOrConnected(callState) + && callState != Call.State.DISCONNECTING) || callState == Call.State.INCOMING) { return false; } if (mPrimary.getSessionModificationState() -- cgit v1.2.3