Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45b831a2 authored by Mengjun Leng's avatar Mengjun Leng Committed by Brad Ebinger
Browse files

Avoid placing the pending MO call if it is disconnected

If the previous call gets hold failure is earlier than call end,
the current call is moved to DISCONNECT. So continue placing the
MO call, the UI does not appear.

To fix it, avoid sending dial request if it is disconnected

Bug: 79546783
Change-Id: Idea3b5ef260ef4cc6281921d9a914554d1b1716f
parent 9c936de4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2268,7 +2268,8 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
                if (mRingingCall.getState().isRinging()) {
                    // Drop pending MO. We should address incoming call first
                    mPendingMO = null;
                } else if (mPendingMO != null) {
                } else if (mPendingMO != null
                        && mPendingMO.getDisconnectCause() == DisconnectCause.NOT_DISCONNECTED) {
                    sendEmptyMessage(EVENT_DIAL_PENDINGMO);
                }
            }