From 8b7399a8d98e6c626a8af57411b037c13fe7d61a Mon Sep 17 00:00:00 2001 From: Geoffrey Boullanger Date: Mon, 23 Sep 2024 21:32:28 +0000 Subject: [PATCH] Update titles and summaries of the Date and time settings page Design doc: go/dd-android-settings-time-2024 This change covers Part 1, which consists of adding user-friendly summary under each toggle and rewording titles. Bug: 296835792 Test: on-device and atest Flag: EXEMPT resource only update Change-Id: I0b685743599880fc1c4ad680eca9c36e4e64d0ff --- res/values/strings.xml | 16 ++++++++++------ res/xml/date_time_prefs.xml | 4 +++- .../datetime/AutoTimePreferenceController.java | 13 +++++++++++++ .../AutoTimeZonePreferenceController.java | 8 ++++---- .../AutoTimePreferenceControllerTest.java | 8 ++++++++ .../AutoTimeZonePreferenceControllerTest.java | 5 +++-- 6 files changed, 41 insertions(+), 13 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index fb95aa3bd39..4229eb18fbb 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -571,11 +571,15 @@ Roaming charges may apply. - Set time automatically + Automatic date and time + + Set automatically using your network and wireless signals - Set automatically + Automatic time zone + + Set automatically based on mobile networks near you - Location will be used for setting the time zone when this toggle is on + Set automatically using your device location, if available. An active Wifi connection may also be required. Use locale default @@ -3772,7 +3776,7 @@ Location services - Use location + Use location for time zone Cannot set the time zone automatically @@ -3800,7 +3804,7 @@ - Automatic time zone is off + Not available when automatic time zone is off @@ -3811,7 +3815,7 @@ allowed for the user, e.g. because of device policy --> Location time zone detection changes are not allowed - Location may be used to set time zone + If your device location is available, it may be used to set your time zone View legal info, status, software version diff --git a/res/xml/date_time_prefs.xml b/res/xml/date_time_prefs.xml index 3fb4a065d7c..d8643be35f9 100644 --- a/res/xml/date_time_prefs.xml +++ b/res/xml/date_time_prefs.xml @@ -23,7 +23,7 @@ @@ -48,6 +48,7 @@ @@ -60,6 +61,7 @@