Add more behavior to TimeDetectorService
The client code now "suggests" time updates to the time detection service. The current implementation of the time detection service will validate and set the device system clock as needed. In future it will ignore these suggestions if better information is available. Responsibility for sending the TelephonyIntents.ACTION_NETWORK_SET_TIME intent has been moved to the time detection service until it can be removed or replaced. The telephony code is still responsible for basic rate limiting but the majority of the decision logic has been moved to the service. There is an associated change in telephony code to switch to using the server. Bug: 78217059 Test: atest FrameworksServicesTests:com.android.server.timedetector Test: atest FrameworksCoreTests:android.util.TimestampedValueTest Change-Id: I4f7a10ac06b2d32da22689e1ddf309e0a2795f30
Loading
Please register or sign in to comment