Retry NTP indefinitely until successful
On a cold boot, the RTC will not be set. If there are network
issues (lan is up but wan is down), the default value of 3 could
cause the device to not get NTP in a timely fashion.
(by default, after 3 failures, the device would wait 24h to try
again)
Bug: 19046107
Change-Id: I4015f359853d8d1e7a47e8e1c20bc086a1d0cb13
Signed-off-by: Patrick Tjin <pattjin@google.com>
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 336e394..6764f5d 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -59,4 +59,9 @@
bucket, and scaled proportionally to the smaller buckets. 0 keeps the default.
Below will adj 6 minfree buckets (in MB) to: 32, 40, 48, 56, 64, 80 -->
<integer name="config_lowMemoryKillerMinFreeKbytesAbsolute">81920</integer>
+
+ <!-- Number of times to try again with the shorter interval, before backing
+ off until the normal polling interval. A value < 0 indicates infinite. -->
+ <integer name="config_ntpRetry">-1</integer>
+
</resources>