summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2021-11-12 14:32:20 +0000
committer Neil Fuller <nfuller@google.com> 2021-11-15 14:04:47 +0000
commit76df467cca532f8b560e790735ca9a03d3c5338a (patch)
treec65bb6a6b3fc449f6fb7337f7c2af71b237e2d50 /libs/input/SpriteController.cpp
parentbded1d2f5d0bfaf6224cbca74590b899e56b61a9 (diff)
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
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions