From 4c05249d8bc4e70ed81625785340673a0dcff11e Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Mon, 9 Nov 2020 16:57:02 +0000 Subject: [PATCH] Add resource config for the GeoTz feature Add resource config for the Geolocation tz detection feature. The feature can still be enabled for local dev via a persistent system property, but the config is intended to be the "proper" way to turn the feature on. Bug: 172546738 Test: build / boot Change-Id: Ia35dde9308274825d0d3c4afe908b6310aa834e4 --- core/res/res/values/config.xml | 3 ++ core/res/res/values/symbols.xml | 1 + .../LocationTimeZoneManagerService.java | 7 +++-- .../TimeZoneDetectorService.java | 29 ++++++++++++++----- 4 files changed, 29 insertions(+), 11 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 433a46b73f4c8..8258f896d9f8b 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -1602,6 +1602,9 @@ config_timeZoneRulesUpdateTrackingEnabled are true.] --> 5 + + false +