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

Commit 1c5c7cac authored by Neil Fuller's avatar Neil Fuller
Browse files

Switch to new NetworkTimeHelper impl

Switch default from a NetworkTimeHelper impl that explicitly syncs NTP
to get a network time to one that retrieves the latest network time from
the time detector.

Behavior can be observed using:
adb shell dumpsys location -a
  - look for the NetworkTimeHelper info

Bug: 222295093
Test: build / boot / inspect
Change-Id: I40bb317971ca42e2739edd5c7351b32f0f329440
parent 31825737
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ abstract class NetworkTimeHelper {
     * a platform bug. This switch will be removed in a future release. If there are problems with
     * the new impl we'd like to hear about them.
     */
    static final boolean USE_TIME_DETECTOR_IMPL = false;
    static final boolean USE_TIME_DETECTOR_IMPL = true;

    /**
     * The callback interface used by {@link NetworkTimeHelper} to report the time to {@link