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

Commit 9e1e1360 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android Git Automerger
Browse files

am de78352c: am ac9c73ae: Merge "Fix notification of disconnected networks." into honeycomb-LTE

* commit 'de78352c':
  Fix notification of disconnected networks.
parents dcd2ef9a de78352c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1569,13 +1569,16 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
        if(DBG) log("EVENT_DISCONNECT_DONE connId=" + connId);
        if (ar.userObj instanceof ApnContext) {
            apnContext = (ApnContext) ar.userObj;
        } else {
            loge("Invalid ar in onDisconnectDone");
            return;
        }

        mPhone.notifyDataConnection(apnContext.getReason(), apnContext.getApnType());

        apnContext.setState(State.IDLE);
        apnContext.setApnSetting(null);

        mPhone.notifyDataConnection(apnContext.getReason(), apnContext.getApnType());

        // if all data connection are gone, check whether Airplane mode request was
        // pending.
        if (!isConnected()) {