From b4d003da66beb414e8e7fcec94a82a53027dbbfa Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Thu, 23 Mar 2017 14:46:52 +0000 Subject: [PATCH] Update settings to use latest IDs for zones Various zones in timezones.xml were being identified by old IDs. The settings picker and setup wizard uses the exact ID when pre-selecting the user's current zone. Since the autodetection uses the new IDs in places like Buenos Aires users would not have the correct zone pre-selected during setup. Thanks to Marcio Ikeda of LG for the report. Other legacy IDs found with: for TZ in `grep 'id=' timezones.xml \ | awk -F\" '{ print $2 }'`; do \ grep ${TZ} ~/Downloads/tzdata2016g/zone.tab > /dev/null; \ if (( $? != 0 )); then echo Bad: ${TZ}; fi; \ done New IDs found using tzdata NEWS and "backward" file. Test: Manual testing: selection of the zone in the settings Bug: 36469833 Change-Id: I8c20494a48870cdc600854756061e86db730e14a --- packages/SettingsLib/res/xml/timezones.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/SettingsLib/res/xml/timezones.xml b/packages/SettingsLib/res/xml/timezones.xml index 4426495b0cbe6..12d31cfc6e8fe 100644 --- a/packages/SettingsLib/res/xml/timezones.xml +++ b/packages/SettingsLib/res/xml/timezones.xml @@ -21,7 +21,7 @@ - + @@ -58,11 +58,11 @@ - + - + - +