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

Commit 6fb7057d authored by Ling Ma's avatar Ling Ma Committed by Android (Google) Code Review
Browse files

Merge "Always update SPN upon locale changed" into udc-dev

parents fd3cb835 a5a88295
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);