Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6a06b04 authored by Neil Fuller's avatar Neil Fuller
Browse files

Tidy configuration associated with geotz

Tidy configuration associated with geolocation time zone detection.

This commit contains a number of documentation fixes.

It also is part of a topic that moves the configuration of the secondary
location time zone provider to a Google-specific overlay.

Note: There will be a follow up later in the release cycle to remove the
hosting of the secondary LTZP in the system server.

Bug: 178169250
Bug: 174027180
Test: treehugger
Change-Id: Icb56bb78e06fe6ac30fd5671208994aebcff29b8
parent ff09af37
Loading
Loading
Loading
Loading
+28 −19
Original line number Diff line number Diff line
@@ -1653,29 +1653,38 @@
    <integer name="config_timeZoneRulesCheckRetryCount">5</integer>

    <!-- Whether the geolocation time zone detection feature is enabled. Setting this to false means
         the feature cannot be used. Setting this to true means it may be used if other
         configuration allows (see provider configuration below, also compile time overlays). -->
         the feature cannot be used. Setting this to true means system server components can be
         tested and location time zone detection may be used if other configuration allows (see
         location time zone provider configuration settings below). -->
    <bool name="config_enableGeolocationTimeZoneDetection" translatable="false">true</bool>

    <!-- Whether the primary LocationTimeZoneProvider is enabled.
         Ignored if config_enableGeolocationTimeZoneDetection is false -->
    <!-- Whether the primary location time zone provider is enabled.
         This setting is ignored if config_enableGeolocationTimeZoneDetection is false.

         AOSP does not configure a primary location time zone provider. -->
    <bool name="config_enablePrimaryLocationTimeZoneProvider" translatable="false">false</bool>
    <!-- The package name providing the primary location time zone provider.

    <!-- The package hosting the primary location time zone provider.
         Only used when config_enableGeolocationTimeZoneDetection and
         config_enablePrimaryLocationTimeZoneProvider are true.

         See android.service.timezone.TimeZoneProviderService for how to host location time zone
         provider services. -->
    <string name="config_primaryLocationTimeZoneProviderPackageName" translatable="false"></string>

    <!-- Whether the secondary location time zone provider is enabled.
         This setting is ignored if config_enableGeolocationTimeZoneDetection is false.

         AOSP does not configure a secondary location time zone provider. -->
    <bool name="config_enableSecondaryLocationTimeZoneProvider" translatable="false">false</bool>

    <!-- The package hosting the secondary location time zone provider.
         Only used when config_enableGeolocationTimeZoneDetection and
         enablePrimaryLocationTimeZoneProvider are true. -->
    <string name="config_primaryLocationTimeZoneProviderPackageName" translatable="false">@null</string>

    <!-- Whether the secondary LocationTimeZoneProvider is enabled.
         Ignored if config_enableGeolocationTimeZoneDetection is false -->
    <bool name="config_enableSecondaryLocationTimeZoneProvider" translatable="false">true</bool>
    <!-- Package name providing the secondary location time zone provider. Used only when
         config_enableSecondaryLocationTimeZoneOverlay is false.

         By default, set to "android" to pick up the default LocationTimeZoneProvider configured in
         the system server's AndroidManifest.xml. See the
         com.android.location.timezone.service.v1.SecondaryLocationTimeZoneProvider intent-filter
         definition there for more information. -->
    <string name="config_secondaryLocationTimeZoneProviderPackageName" translatable="false">android</string>
         config_enableSecondaryLocationTimeZoneProvider are true.

         See android.service.timezone.TimeZoneProviderService for how to host location time zone
         provider services. -->
    <string name="config_secondaryLocationTimeZoneProviderPackageName" translatable="false"></string>

    <!-- Whether to enable network location overlay which allows network location provider to be
         replaced by an app at run-time. When disabled, only the