Place GeoTZ toggle under auto time zone toggle.
This moves the two toggles that control the time zone detection behavior next to each other, rather than having them either side of the current device time zone. This is intended to making it clear they are both influencing detection behavior. It will ensure that future text we put under the auto time zone toggle for the tablet use case (where there is no telephony detection) explaining that "Use location to set time zone" has to be on will be right next to the toggle that needs to change. Bug: 152746236 Bug: 186625820 Test: flashed device, checked manually Change-Id: Ifd43db3d5cc7e764b12f8da20e552b1a5479ac4a
This commit is contained in:
@@ -48,6 +48,12 @@
|
||||
settings:allowDividerAbove="true"
|
||||
settings:userRestriction="no_config_date_time"/>
|
||||
|
||||
<!-- This preference gets removed if location-based time zone detection is not supported -->
|
||||
<SwitchPreference
|
||||
android:key="location_time_zone_detection"
|
||||
android:title="@string/location_time_zone_detection_toggle_title"
|
||||
settings:controller="com.android.settings.datetime.LocationTimeZoneDetectionPreferenceController"/>
|
||||
|
||||
<com.android.settingslib.RestrictedPreference
|
||||
android:key="timezone"
|
||||
android:title="@string/date_time_set_timezone_title"
|
||||
@@ -56,12 +62,6 @@
|
||||
settings:userRestriction="no_config_date_time"
|
||||
settings:keywords="@string/keywords_time_zone"/>
|
||||
|
||||
<!-- This preference gets removed if location-based time zone detection is not supported -->
|
||||
<SwitchPreference
|
||||
android:key="location_time_zone_detection"
|
||||
android:title="@string/location_time_zone_detection_toggle_title"
|
||||
settings:controller="com.android.settings.datetime.LocationTimeZoneDetectionPreferenceController"
|
||||
/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
Reference in New Issue
Block a user