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

Commit 03ba9e23 authored by Jack Yu's avatar Jack Yu Committed by android-build-merger
Browse files

Merge "Fixed incorrect time zone when the device is on IWLAN"

am: 5f7d47c2

Change-Id: I5a2540786edd5aaf7c82a91ff5fec13eaee6dd6e
parents 9aa9a5d8 5f7d47c2
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2815,7 +2815,13 @@ public class ServiceStateTracker extends Handler {
                tm.setNetworkCountryIsoForPhone(mPhone.getPhoneId(), "");
                mGotCountryCode = false;
                mNitzUpdatedTime = false;
            } else {
            } else if (mSS.getRilDataRadioTechnology() != ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN) {
                // Update time zone, ISO, and IDD.
                //
                // If the device is on IWLAN, modems manufacture a ServiceState with the MCC/MNC of
                // the SIM as if we were talking to towers. Telephony code then uses that with
                // mccTable to suggest a timezone. We shouldn't do that if the MCC/MNC is from IWLAN

                String iso = "";
                String mcc = "";
                try {