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

Commit 4c126068 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

GPS: Change NTP polling interval from 4 to 24 hours



4 hours is excessive, and we want to save bandwidth on the NTP servers

Change-Id: Ic5ac4f4a8e62167206f3f620ea51635a2ea771d6
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent b9537db8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -282,8 +282,8 @@ public class GpsLocationProvider implements LocationProviderInterface {
    private final SparseIntArray mClientUids = new SparseIntArray();

    // how often to request NTP time, in milliseconds
    // current setting 4 hours
    private static final long NTP_INTERVAL = 4*60*60*1000;
    // current setting 24 hours
    private static final long NTP_INTERVAL = 24*60*60*1000;
    // how long to wait if we have a network error in NTP or XTRA downloading
    // current setting - 5 minutes
    private static final long RETRY_INTERVAL = 5*60*1000;