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

Commit 2c583686 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Fix pdn cleanup issue due to apn change"

parents b4e7e8f6 91382e60
Loading
Loading
Loading
Loading
+5 −3
Original line number Original line Diff line number Diff line
@@ -1425,10 +1425,12 @@ public class DcTracker extends DcTrackerBase {
        if (DBG) log("tryRestartDataConnections: createAllApnList and cleanUpAllConnections");
        if (DBG) log("tryRestartDataConnections: createAllApnList and cleanUpAllConnections");
        createAllApnList();
        createAllApnList();
        setInitialAttachApn();
        setInitialAttachApn();
        if (reason.equalsIgnoreCase(Phone.REASON_APN_CHANGED)) {
            cleanUpConnectionsOnUpdatedApns(!isDisconnected);
            cleanUpConnectionsOnUpdatedApns(!isDisconnected);

        } else {
        // FIXME: See bug 17426028 maybe no conditional is needed.
            cleanUpAllConnections(!isDisconnected, reason);
            cleanUpAllConnections(!isDisconnected, reason);
        }
        // FIXME: See bug 17426028 maybe no conditional is needed.
        setupDataOnConnectableApns(reason);
        setupDataOnConnectableApns(reason);
    }
    }