diff options
| author | 2023-02-15 18:15:10 +0000 | |
|---|---|---|
| committer | 2023-02-20 17:15:45 +0000 | |
| commit | 4ada8aaf7fcee105032767951783f5f42029eec3 (patch) | |
| tree | 6c170e0210072e5616cbb862f84a1ac4a4fecf07 /libs/input/PointerController.cpp | |
| parent | b62d832a2072feed18f812b50e56a28f2b75c2c7 (diff) | |
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
(cherry picked from commit 9511093518b20c4ebd8e019c42bdd3839b894fd7)
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions