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

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

Remove geo suggestion clearing

Remove strategy clearing / ignoring geo suggestions within
TimeZoneDetectorStrategyImpl when geo detection is disabled / the user
is changed.

The LocationTimeZoneManager's ControllerImpl withdraws suggestions in
these situations anyway. Removing the duplicated functionality from the
strategy helps avoid races (i.e. if the TimeZoneDetectorStrategy and
LocationTimeZoneManager receive the same "something has changed" signal
in an ill-defined order it could lead to suggestions being "missed").
This should open up opportunities for future droidfood testing
(i.e. the ability to run geo detection "in the background" and record /
report them in metrics during QA, bug 200279201).

Test: atest services/tests/servicestests/src/com/android/server/timezonedetector/
Test: atest cts/hostsidetests/time/host/src/android/time/cts/host/
Bug: 200279201
Bug: 197624972
Change-Id: I2e5ea8482216ef204cf2e7ad412eeb0f501e36b9
parent bded1d2f
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