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

Commit cf13f20b authored by markcs's avatar markcs
Browse files

DcTrackerBase: Dont provision APN if default is disconnecting

Change-Id: I99344d89235b24689cde14335bf593099169ef0d
parent cc648d4d
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;