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

Commit 17498f7e authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "DcTrackerBase: Dont provision APN if default is disconnecting" into cm-11.0

parents 61759138 cf13f20b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -941,6 +941,13 @@ public abstract class DcTrackerBase extends Handler {
            }
            case DctConstants.CMD_IS_PROVISIONING_APN: {
                if (DBG) log("CMD_IS_PROVISIONING_APN");

                ApnContext apnContext = mApnContexts.get(PhoneConstants.APN_TYPE_DEFAULT);
                if (apnContext.getState() == State.DISCONNECTING){
                      log("CMD_IS_PROVISIONING_APN: APN default is DISCONNECTING");
                      break;
                }

                boolean isProvApn;
                try {
                    String apnType = null;