summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2009-11-11 16:26:16 -0800
committerWink Saville <wink@google.com>2009-11-11 16:33:50 -0800
commitce9b59f0ba00e006d2697480b5e5d1fcbd0d2818 (patch)
treeb71b668d8b0890227817ba647bfd81175928b726 /core/java
parent3e584fc944e3d694b4233450f386bd2a930420bf (diff)
downloadframeworks_base-ce9b59f0ba00e006d2697480b5e5d1fcbd0d2818.zip
frameworks_base-ce9b59f0ba00e006d2697480b5e5d1fcbd0d2818.tar.gz
frameworks_base-ce9b59f0ba00e006d2697480b5e5d1fcbd0d2818.tar.bz2
Add code to use Gservices provided values for throtting NITZ updates.
bug: 2251845 Change-Id: Ie122606fb852868bb76a9930bb5e6ba906273619
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/provider/Settings.java13
1 files changed, 13 insertions, 0 deletions
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
*/