diff options
author | Elliott Hughes <enh@google.com> | 2013-06-25 10:16:27 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-06-25 10:16:27 -0700 |
commit | 81faf895d7654322d46e1254bd9f75d915c78622 (patch) | |
tree | 95c0101d7a25fca050a1967333f0d2876f35d696 /src/com/android/settings/DateTimeSettingsSetupWizard.java | |
parent | 02e23fb0eb96280c7874d8b5d65b56bb9fc284ba (diff) | |
download | packages_apps_Settings-81faf895d7654322d46e1254bd9f75d915c78622.tar.gz packages_apps_Settings-81faf895d7654322d46e1254bd9f75d915c78622.tar.bz2 packages_apps_Settings-81faf895d7654322d46e1254bd9f75d915c78622.zip |
Use SimpleDateFormat for time zone formatting.
There's no need to do time zone formatting manually.
Change-Id: Ibef222d11d04a327e9ef64ddc48322558028555d
Diffstat (limited to 'src/com/android/settings/DateTimeSettingsSetupWizard.java')
-rw-r--r-- | src/com/android/settings/DateTimeSettingsSetupWizard.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/settings/DateTimeSettingsSetupWizard.java b/src/com/android/settings/DateTimeSettingsSetupWizard.java index f4b0da5b8..bb2c6da1b 100644 --- a/src/com/android/settings/DateTimeSettingsSetupWizard.java +++ b/src/com/android/settings/DateTimeSettingsSetupWizard.java @@ -121,7 +121,6 @@ public class DateTimeSettingsSetupWizard extends Activity mSelectedTimeZone = tz; mTimeZoneButton = (Button)findViewById(R.id.time_zone_button); mTimeZoneButton.setText(tz.getDisplayName()); - // mTimeZoneButton.setText(DateTimeSettings.getTimeZoneText(tz)); mTimeZoneButton.setOnClickListener(this); final boolean autoDateTimeEnabled; @@ -245,7 +244,6 @@ public class DateTimeSettingsSetupWizard extends Activity if (mTimeZoneButton != null) { mTimeZoneButton.setText(tz.getDisplayName()); } - // mTimeZoneButton.setText(DateTimeSettings.getTimeZoneText(tz)); mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH), now.get(Calendar.DAY_OF_MONTH)); mTimePicker.setCurrentHour(now.get(Calendar.HOUR_OF_DAY)); |