Use SimpleDateFormat for time zone formatting.

There's no need to do time zone formatting manually.

Change-Id: Ibef222d11d04a327e9ef64ddc48322558028555d
This commit is contained in:
Elliott Hughes
2013-06-25 10:16:27 -07:00
parent 02e23fb0eb
commit 81faf895d7
2 changed files with 5 additions and 36 deletions

View File

@@ -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));