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

Commit ef0bc097 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...

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

Change-Id: If029c5c7966a5f062d0d4e9554abcd9f73e463e8
parents bd57f801 ac7ca0f9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2450,6 +2450,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) {
@@ -2859,6 +2861,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