From a72fe2b22f8103e32512ca7496d24e5cc3b5ea9a Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Thu, 1 Apr 2021 10:05:32 +0100 Subject: [PATCH] Remove configuration of com.android.geotz module This commit removes system server configuration associated with the "offline" location time zone provider from the nascent com.android.geotz module, which has been configured as the "secondary" provider. This module will not to be updatable in S so needs to be removed before release. This is effectively a revert of commit 0131f69b95c28e2bc3cd88eb7f9a785b37ddbaec with adjustments for changes / extra references that have occurred since. Bug: 178169250 Bug: 172546738 Test: treehugger Change-Id: Ieeeb2891c6a17cc06bed48e6849a75ebdd29e28f --- core/res/AndroidManifest.xml | 22 ------------------- core/res/res/values/strings.xml | 6 ----- .../server/timedetector/ServerFlags.java | 4 ---- 3 files changed, 32 deletions(-) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 64b8a1a81e699..14d200d00d564 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1663,11 +1663,6 @@ - - - - - @@ -6292,19 +6283,6 @@ - - - - - - - - - Sensor Notification Service Twilight Service - - Time Zone Detector (No connectivity) GNSS Time Update Service diff --git a/services/core/java/com/android/server/timedetector/ServerFlags.java b/services/core/java/com/android/server/timedetector/ServerFlags.java index 7145f5ea4a645..fe977f8b39217 100644 --- a/services/core/java/com/android/server/timedetector/ServerFlags.java +++ b/services/core/java/com/android/server/timedetector/ServerFlags.java @@ -50,10 +50,6 @@ public final class ServerFlags { /** * An annotation used to indicate when a {@link DeviceConfig#NAMESPACE_SYSTEM_TIME} key is * required. - * - *

Note that the com.android.geotz module deployment of the Offline LocationTimeZoneProvider - * also shares the {@link DeviceConfig#NAMESPACE_SYSTEM_TIME}, and uses the - * prefix "geotz_" on all of its key strings. */ @StringDef(prefix = "KEY_", value = { KEY_LOCATION_TIME_ZONE_DETECTION_FEATURE_SUPPORTED,