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

Commit 80d38fe5 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Update cached user-data-enabled on changes.

Otherwise things don't work.

bug:28176543
Change-Id: I8bf97dc593d2327293ca0a1f9938f50ce1ec9d90
parent afcf7309
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -845,8 +845,10 @@ public class DcTracker extends Handler {

    private void onDeviceProvisionedChange() {
        if (getDataEnabled()) {
            mUserDataEnabled = true;
            onTrySetupData(Phone.REASON_DATA_ENABLED);
        } else {
            mUserDataEnabled = false;
            onCleanUpAllConnections(Phone.REASON_DATA_SPECIFIC_DISABLED);
        }
    }