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

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

Merge "Cleanup connections for APNs that are not connected"

parents 7f990b06 7d137ee9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1659,7 +1659,8 @@ public class DcTracker extends DcTrackerBase {
                // request goes away.  This applies to both CDMA and GSM because they both
                // can declare the DUN APN sharable by default traffic, thus still satisfying
                // those requests and not torn down organically.
                if (apnContext.getApnType() == PhoneConstants.APN_TYPE_DUN && teardownForDun()) {
                if ((apnContext.getApnType() == PhoneConstants.APN_TYPE_DUN && teardownForDun())
                        || apnContext.getState() != DctConstants.State.CONNECTED) {
                    cleanup = true;
                } else {
                    cleanup = false;