From 22d1d3e60416012eafdf57ad0ea63a576a4c9b6e Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Fri, 25 Sep 2015 13:07:31 -0700 Subject: Show InCallUI for all PENDING_OUTGOING -> INCALL transitions Bug: 24381181 Change-Id: Ic67452afac779ee1a2cf59d18061cfc1346086ac --- InCallUI/src/com/android/incallui/InCallPresenter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 83f7ae0d7..032d096f8 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -1079,7 +1079,7 @@ public class InCallPresenter implements CallList.Listener, // Direct transition from PENDING_OUTGOING -> INCALL means that there was an error in the // outgoing call process, so the UI should be brought up to show an error dialog. showCallUi |= (InCallState.PENDING_OUTGOING == mInCallState - && InCallState.INCALL == newState && !isActivityStarted()); + && InCallState.INCALL == newState && !isShowingInCallUi()); // Another exception - InCallActivity is in charge of disconnecting a call with no // valid accounts set. Bring the UI up if this is true for the current pending outgoing -- cgit v1.2.3