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

Commit c0324e57 authored by fionaxu's avatar fionaxu Committed by android-build-merger
Browse files

Re-evaluate Otasp state when reenable metered APNs am: 4839eb56

am: 96fb8753

Change-Id: Ib99476045d521cfc73d703ae75319a945e7e3ee3
parents c6530225 96fb8753
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2399,6 +2399,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);
                }