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

Skip to content
Commit 8d2eaef4 authored by Neil Fuller's avatar Neil Fuller
Browse files

Remove uninitialized tz path from MccTable

Remove code from MccTable that can set a device's time zone if the time
zone setting is not yet initialized but there is a known MCC. e.g. on
first boot when a SIM is present.

This is being done for a few reasons:
1) The telephony code responsible for setting time zone is
NitzStateMachine, which is scoped to a given phone. All telephony logic
that can set time zone should ideally be in one place.

2) There is logic in NitzStateMachineImpl that already handles setting
the time zone when the device is not initialized. It's unclear which
would win, but they should do the same thing and that makes the MccTable
code redundant.

Test: manual testing in AOSP with a SIM after factory reset
Bug: 142864894
Bug: 140712361
Change-Id: I4ec60ba921dc4442c6dbbcfb17d8aadeb36f1ae3
parent 21df779e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment