From 7743e12ce62c1cfd731e02820696b1776c0c21a2 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Fri, 8 Feb 2019 11:16:05 -0800 Subject: [PATCH 1/2] Update strings on date & time setting. Change-Id: Ia0f15fd7e680d6dd864567a31186b7e2090c435f Fixes: 123812588 Test: visual --- res/values/strings.xml | 27 ++++++--------------------- res/xml/date_time_prefs.xml | 20 +++++++------------- 2 files changed, 13 insertions(+), 34 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index c891432025d..ea7c5c3aecd 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -729,41 +729,26 @@ Set date, time, time zone, & formats - Automatic date & time - - Use network-provided time - - Use network-provided time - - Automatic time zone - - Use network-provided time zone - - Use network-provided time zone - - Automatic 24\u2011hour format + Use network-provided time zone - Use locale default + Use locale default 24\u2011hour format Use 24-hour format Time - - Set time + + Time format Time zone Select time zone Date - - Set date Search region diff --git a/res/xml/date_time_prefs.xml b/res/xml/date_time_prefs.xml index edda1ba66d9..f98ce3d1099 100644 --- a/res/xml/date_time_prefs.xml +++ b/res/xml/date_time_prefs.xml @@ -27,20 +27,18 @@ @@ -50,27 +48,23 @@ android:layout="@layout/preference_category_no_label"> + android:title="@string/time_format_category_title"> + android:title="@string/date_time_24hour_auto"/> Date: Fri, 8 Feb 2019 12:36:13 -0800 Subject: [PATCH 2/2] Remove advanced button from location settings Change-Id: I9185949edffbc4588287221b81d30e136e755f85 Fixes: 124059127 Test: manual --- res/xml/location_settings.xml | 83 +++++++++++++++++------------------ 1 file changed, 41 insertions(+), 42 deletions(-) diff --git a/res/xml/location_settings.xml b/res/xml/location_settings.xml index 29d4048c22f..7eccd23a5ee 100644 --- a/res/xml/location_settings.xml +++ b/res/xml/location_settings.xml @@ -14,50 +14,49 @@ limitations under the License. --> - + - + + + + + + + + + + + + + + + + android:key="location_services"/> + - - - - - - - - - - - - - - - - +