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

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

Clear cached NITZ data in a few more places

Clear cached NITZ data in a few more places where the network becomes
"detached".

1) ServiceStateTracker.mLastNitzData (which should have been done in
commit b2bc7b71)

2) Introduce calls to NitzStateMachine.handleNetworkUnavailable()
and make NitzStateMachine do less work if nothing about the NITZ state
has actually changed (to guard against too many calls overall).

3) Stop calling NitzStateMachine.handleCountryUnavailable() - this
should only be called by the LocaleTracker, and these calls were
probably originally intended to clear the last NITZ data received but
has been obscured by the many changes that have happened in the
LocaleTracker / NitzStateMachine code over the last couple of years.

Bug: 140712361
Test: treehugger
Change-Id: I2be2ceccb21494c7193def56b7f14e2ca205b5fa
parent 00cb7eae
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