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

Commit b43b7e77 authored by Ling Ma's avatar Ling Ma Committed by Automerger Merge Worker
Browse files

Merge "Always update SPN upon locale changed" into udc-dev am: 6fb7057d

parents 2d073a09 6fb7057d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -558,8 +558,12 @@ public class ServiceStateTracker extends Handler {
        public void onReceive(Context context, Intent intent) {
            final String action = intent.getAction();
            if (action.equals(Intent.ACTION_LOCALE_CHANGED)) {
                log("ACTION_LOCALE_CHANGED");
                // Update emergency string or operator name, polling service state.
                pollState();
                // Depends on modem, ServiceState is not necessarily updated, so make sure updating
                // SPN.
                updateSpnDisplay();
            } else if (action.equals(TelephonyManager.ACTION_NETWORK_COUNTRY_CHANGED)) {
                String lastKnownNetworkCountry = intent.getStringExtra(
                        TelephonyManager.EXTRA_LAST_KNOWN_NETWORK_COUNTRY);