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

Commit 35f46750 authored by Jayachandran Chinnakkannu's avatar Jayachandran Chinnakkannu Committed by Gerrit Code Review
Browse files

Merge "Clear mAutoAttachOnCreation on Radio Off, Radio Unavailable or SIM not ready"

parents 0a72d2be 7e1fba5b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2415,6 +2415,8 @@ public class DcTracker extends Handler {
        cleanUpAllConnections(true, Phone.REASON_SIM_NOT_READY);
        mAllApnSettings = null;
        mAutoAttachOnCreationConfig = false;
        // Clear auto attach as modem is expected to do a new attach once SIM is ready
        mAutoAttachOnCreation.set(false);
    }

    private void onSetDependencyMet(String apnType, boolean met) {
@@ -2814,6 +2816,9 @@ public class DcTracker extends Handler {

        mReregisterOnReconnectFailure = false;

        // Clear auto attach as modem is expected to do a new attach
        mAutoAttachOnCreation.set(false);

        if (mPhone.getSimulatedRadioControl() != null) {
            // Assume data is connected on the simulator
            // FIXME  this can be improved