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

Commit d1dea894 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Disable default APN context when release network request is received."

parents 0c000a5f b47c642a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -568,6 +568,13 @@ public final class DcTracker extends DcTrackerBase {
            if(!isNetworkRequestForInternet(n)) {
                SubscriptionController subController = SubscriptionController.getInstance();
                subController.stopOnDemandDataSubscriptionRequest(n);
            } else {
                // Internet requests are not queued in DDS list. So deactivate here explicitly.
                ApnContext apnContext = apnContextForNetworkRequest(n);
                if (apnContext != null) {
                    log("Deactivating APN=" + apnContext);
                    apnContext.decRefCount();
                }
            }
        }