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

Commit 63d7cb19 authored by Neil Fuller's avatar Neil Fuller
Browse files

Make AndroidManifest.xml entry reference config

Make the AndroidManifest.xml service entry associated with the default
secondary LocationTimeZoneProvider reference the config value that
enables the secondary provider elsewhere. This means we can disable the
provider's service mapping with a single config value, which is good
while the AndroidManifest.xml has to contain this info.

Test: Tried with it true / false
Bug: 152746105
Change-Id: I1e1b986bbe47dd893de7ebbde5bed29ee6c034d0
parent 815f169d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5775,6 +5775,7 @@
        <!-- AOSP configures a default secondary LocationTimeZoneProvider that uses an on-device
             data set from the com.android.geotz APEX. -->
        <service android:name="com.android.timezone.geotz.provider.OfflineLocationTimeZoneProviderService"
                 android:enabled="@bool/config_enableSecondaryLocationTimeZoneProvider"
                 android:exported="false">
            <intent-filter>
                <action android:name="android.service.timezone.SecondaryLocationTimeZoneProviderService" />