Remove restriction for "Use location..."

Remove restriction for "Use location to set time zone" toggle.

This setting should not be restricted. Using location is a personal
choice since it involves the use of the device's location.

Bug: 166579161
Test: manual testing with / without date/time restriction
Change-Id: I89973e1df5cad8b4c639c13478298f9b39f37b5f
This commit is contained in:
Neil Fuller
2021-04-20 18:30:05 +01:00
parent 976c6ac56d
commit 26d094b4a3

View File

@@ -53,11 +53,10 @@
settings:keywords="@string/keywords_time_zone"/>
<!-- This preference gets removed if location-based time zone detection is not supported -->
<com.android.settingslib.RestrictedSwitchPreference
<SwitchPreference
android:key="location_time_zone_detection"
android:title="@string/location_time_zone_detection_toggle_title"
settings:controller="com.android.settings.datetime.LocationTimeZoneDetectionPreferenceController"
settings:userRestriction="no_config_date_time"
/>
<PreferenceCategory