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

Commit b95320cd authored by Chris Manton's avatar Chris Manton Committed by Android (Google) Code Review
Browse files

Merge "Reload Apn settings upon technology change" into mnc-dev

parents 975d9e58 735bc2f4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -788,11 +788,13 @@ public final class DcTracker extends DcTrackerBase {

    private void setupDataOnConnectableApns(String reason, RetryFailures retryFailures) {
        if (DBG) log("setupDataOnConnectableApns: " + reason);
        ArrayList<ApnSetting> waitingApns = null;

        for (ApnContext apnContext : mPrioritySortedApnContexts) {
            ArrayList<ApnSetting> waitingApns = null;

            if (DBG) log("setupDataOnConnectableApns: apnContext " + apnContext);
            if (apnContext.getState() == DctConstants.State.FAILED) {
            if (apnContext.getState() == DctConstants.State.FAILED
                    || apnContext.getState() == DctConstants.State.RETRYING) {
                if (retryFailures == RetryFailures.ALWAYS) {
                    apnContext.setState(DctConstants.State.IDLE);
                } else if (apnContext.isConcurrentVoiceAndDataAllowed() == false &&