summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-09-25 13:07:31 -0700
committerYorke Lee <yorkelee@google.com>2015-09-25 13:07:31 -0700
commit22d1d3e60416012eafdf57ad0ea63a576a4c9b6e (patch)
tree10851075ba901b73e7d272d7d123e66d3e4abb9b
parent699bd5e82c5e80b4cfc0196d3bafb90895de9447 (diff)
Show InCallUI for all PENDING_OUTGOING -> INCALL transitions
Bug: 24381181 Change-Id: Ic67452afac779ee1a2cf59d18061cfc1346086ac
-rw-r--r--InCallUI/src/com/android/incallui/InCallPresenter.java2
1 files changed, 1 insertions, 1 deletions
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