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

Commit ac7ca0f9 authored by Jayachandran Chinnakkannu's avatar Jayachandran Chinnakkannu Committed by android-build-merger
Browse files

Merge "Clear mAutoAttachOnCreation on Radio Off, Radio Unavailable or SIM not ready" am: 35f46750

am: fcb14f5f

Change-Id: I6a8389d49d033f754d3a9a6b37219c5a5a304da8
parents 9dea9c86 fcb14f5f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2442,6 +2442,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) {
@@ -2851,6 +2853,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