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

Commit 861fb73f authored by Chen Xu's avatar Chen Xu Committed by Android (Google) Code Review
Browse files

Merge "Re-evaluate Otasp state when reenable metered APNs" into nyc-mr2-dev

parents 636fbb01 4839eb56
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2385,6 +2385,10 @@ public class DcTracker extends Handler {
                    // Tear down all metered apns
                    cleanUpAllConnections(true, Phone.REASON_CARRIER_ACTION_DISABLE_METERED_APN);
                } else {
                    // Re-evauluate Otasp state
                    int otaspState = mPhone.getServiceStateTracker().getOtasp();
                    mPhone.notifyOtaspChanged(otaspState);

                    teardownRestrictedMeteredConnections();
                    setupDataOnConnectableApns(Phone.REASON_DATA_ENABLED);
                }