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

Commit c2030a3b authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Add ability to add sim-initiated MO call to UI (4/4)" into lmp-dev

parents 9f638ce6 83a97603
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -448,8 +448,8 @@ public class GSMPhone extends PhoneBase {
        mNotifier.notifyDisconnectCause(cn.getDisconnectCause(), cn.getPreciseDisconnectCause());
    }

    void notifyUnknownConnection() {
        mUnknownConnectionRegistrants.notifyResult(this);
    void notifyUnknownConnection(Connection cn) {
        mUnknownConnectionRegistrants.notifyResult(cn);
    }

    void notifySuppServiceFailed(SuppService code) {
+4 −1
Original line number Diff line number Diff line
@@ -434,6 +434,7 @@ public final class GsmCallTracker extends CallTracker {
        }

        Connection newRinging = null; //or waiting
        Connection newUnknown = null;
        boolean hasNonHangupStateChanged = false;   // Any change besides
                                                    // a dropped connection
        boolean hasAnyCallDisconnected = false;
@@ -518,6 +519,8 @@ public final class GsmCallTracker extends CallTracker {
                            }
                        }

                        newUnknown = mConnections[i];

                        unknownConnectionAppeared = true;
                    }
                }
@@ -632,7 +635,7 @@ public final class GsmCallTracker extends CallTracker {
        updatePhoneState();

        if (unknownConnectionAppeared) {
            mPhone.notifyUnknownConnection();
            mPhone.notifyUnknownConnection(newUnknown);
        }

        if (hasNonHangupStateChanged || newRinging != null || hasAnyCallDisconnected) {