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

Commit f2d75e8f 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" into oc-dr1-dev

am: cd7d8320

Change-Id: I15bdf8b0b78c6e095eb580b7780cf5ec293d65ab
parents 3bcecec3 cd7d8320
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2812,7 +2812,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 {