+76
−35
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Make TimeDetectorService / Strategy consistent with time zone detection code, improve logging and generally tidy up. 1) Turn off debug logging / shorten log tags. 2) Add LocalLog for recording time changes. 3) Move to using FgThread for calls that can be done async / change synchronization model (responsibility moves from service to strategy). 4) Move responisibility for determining current auto-time state to the strategy. 5) Rename the strategy test to be correct(!) Bug: 140712361 Test: atest services/tests/servicestests/src/com/android/server/timedetector/TimeDetectorServiceTest.java Test: atest services/tests/servicestests/src/com/android/server/timedetector/SimpleTimeDetectorStrategyTest.java Change-Id: I4902f6b360c168ec16a1595359153488a310a91a