diff options
author | Mike Lockwood <lockwood@android.com> | 2011-05-23 18:04:44 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-05-23 18:04:44 -0700 |
commit | c0d9834a1c6dd8d9cd0b7fe9b50495578c104405 (patch) | |
tree | a4e9b92b9612141b9e518e01e08aeaa5a7780435 /services | |
parent | 5b00912e5844591a846e8ba3c4710d2daaa8069a (diff) | |
parent | 5d78e0b8ea548da3fa88ae2190a9334297b992b6 (diff) | |
download | frameworks_base-c0d9834a1c6dd8d9cd0b7fe9b50495578c104405.zip frameworks_base-c0d9834a1c6dd8d9cd0b7fe9b50495578c104405.tar.gz frameworks_base-c0d9834a1c6dd8d9cd0b7fe9b50495578c104405.tar.bz2 |
am 5d78e0b8: Merge "GPS: Change NTP polling interval from 4 to 24 hours" into honeycomb-mr2
* commit '5d78e0b8ea548da3fa88ae2190a9334297b992b6':
GPS: Change NTP polling interval from 4 to 24 hours
Diffstat (limited to 'services')
-rwxr-xr-x | services/java/com/android/server/location/GpsLocationProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/location/GpsLocationProvider.java b/services/java/com/android/server/location/GpsLocationProvider.java index 3561862..f3a2a62 100755 --- a/services/java/com/android/server/location/GpsLocationProvider.java +++ b/services/java/com/android/server/location/GpsLocationProvider.java @@ -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; |