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

Commit 99641836 authored by Joe Onorato's avatar Joe Onorato
Browse files

Update the network info when the configuration changes.

Bug: 3405559
Change-Id: I91a0e05f2e6d1c7766b89ba4f96d87ce07783318
parent 51990f9b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ public class NetworkController extends BroadcastReceiver {
        filter.addAction(Telephony.Intents.SPN_STRINGS_UPDATED_ACTION);
        filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
        filter.addAction(ConnectivityManager.INET_CONDITION_ACTION);
        filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED);
        context.registerReceiver(this, filter);

        // yuck
@@ -197,6 +198,8 @@ public class NetworkController extends BroadcastReceiver {
                 action.equals(ConnectivityManager.INET_CONDITION_ACTION)) {
            updateConnectivity(intent);
            refreshViews();
        } else if (action.equals(Intent.ACTION_CONFIGURATION_CHANGED)) {
            refreshViews();
        }
    }