Merge "GPS: Change NTP polling interval from 4 to 24 hours" into honeycomb-mr2

This commit is contained in:
Mike Lockwood
2011-05-23 18:01:50 -07:00
committed by Android (Google) Code Review

View File

@ -282,8 +282,8 @@ public class GpsLocationProvider implements LocationProviderInterface {
private final SparseIntArray mClientUids = new SparseIntArray(); private final SparseIntArray mClientUids = new SparseIntArray();
// how often to request NTP time, in milliseconds // how often to request NTP time, in milliseconds
// current setting 4 hours // current setting 24 hours
private static final long NTP_INTERVAL = 4*60*60*1000; 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 // how long to wait if we have a network error in NTP or XTRA downloading
// current setting - 5 minutes // current setting - 5 minutes
private static final long RETRY_INTERVAL = 5*60*1000; private static final long RETRY_INTERVAL = 5*60*1000;