From ce9b59f0ba00e006d2697480b5e5d1fcbd0d2818 Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Wed, 11 Nov 2009 16:26:16 -0800 Subject: Add code to use Gservices provided values for throtting NITZ updates. bug: 2251845 Change-Id: Ie122606fb852868bb76a9930bb5e6ba906273619 --- core/java/android/provider/Settings.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'core/java') diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index cb3dc16..7433a79 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -3638,6 +3638,19 @@ public final class Settings { public static final String LAST_KMSG_KB = "last_kmsg_kb"; /** + * The length of time in milli-seconds that automatic small adjustments to + * SystemClock are ignored if NITZ_UPDATE_DIFF is not exceeded. + */ + public static final String NITZ_UPDATE_SPACING = "nitz_update_spacing"; + + /** + * If the NITZ_UPDATE_DIFF time is exceeded then an automatic adjustment + * to SystemClock will be allowed even if NITZ_UPDATE_SPACING has not been + * exceeded. + */ + public static final String NITZ_UPDATE_DIFF = "nitz_update_diff"; + + /** * @deprecated * @hide */ -- cgit v1.1