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

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

General improvements / refactoring

Fix documentation, command line formatting and improve logging. No
functional changes.

To improve logging, the refreshIfRequiredAndReschedule() method has been
renamed to refreshAndRescheduleIfRequired() (because it now may not
reschedule) and it can now accept a null Network parameter to log the
case that was previously handled in the untested code. Tests have been
updated accordingly.

Test: manual / treehugger
Test: atest services/tests/servicestests/src/com/android/server/timedetector/NetworkTimeUpdateServiceTest.java
Bug: 269425914
Change-Id: Ib54da77d85ae0949b560b22659263f4f13f7a61e
parent 6b5b4c41
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