removing explicit setting of time/date pciker dialogs
Change-Id: Ic92a3de895735fc019ca506f904d63f23c82ec8f
This commit is contained in:
@@ -272,10 +272,6 @@
|
|||||||
<string name="date_time_12_hour_sample">1:00 pm</string>
|
<string name="date_time_12_hour_sample">1:00 pm</string>
|
||||||
<!-- Date/time settings. Summary of the checkbox for choosing between 12 hour time or 24 hour time. Sample of 24-hour time -->
|
<!-- Date/time settings. Summary of the checkbox for choosing between 12 hour time or 24 hour time. Sample of 24-hour time -->
|
||||||
<string name="date_time_24_hour_sample">13:00</string>
|
<string name="date_time_24_hour_sample">13:00</string>
|
||||||
<!-- Title of the dialog for setting the time. -->
|
|
||||||
<string name="date_time_changeTime_text">Change time</string>
|
|
||||||
<!-- Title of the dialog for setting the date. -->
|
|
||||||
<string name="date_time_changeDate_text">Date</string>
|
|
||||||
<!-- The title of the activity to pick a time zone. -->
|
<!-- The title of the activity to pick a time zone. -->
|
||||||
<string name="choose_timezone">Select time zone</string>
|
<string name="choose_timezone">Select time zone</string>
|
||||||
<!-- Do not translate. Used as the value for a setting. -->
|
<!-- Do not translate. Used as the value for a setting. -->
|
||||||
|
@@ -220,7 +220,6 @@ public class DateTimeSettings extends SettingsPreferenceFragment
|
|||||||
calendar.get(Calendar.YEAR),
|
calendar.get(Calendar.YEAR),
|
||||||
calendar.get(Calendar.MONTH),
|
calendar.get(Calendar.MONTH),
|
||||||
calendar.get(Calendar.DAY_OF_MONTH));
|
calendar.get(Calendar.DAY_OF_MONTH));
|
||||||
d.setTitle(getResources().getString(R.string.date_time_changeDate_text));
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DIALOG_TIMEPICKER: {
|
case DIALOG_TIMEPICKER: {
|
||||||
@@ -231,7 +230,6 @@ public class DateTimeSettings extends SettingsPreferenceFragment
|
|||||||
calendar.get(Calendar.HOUR_OF_DAY),
|
calendar.get(Calendar.HOUR_OF_DAY),
|
||||||
calendar.get(Calendar.MINUTE),
|
calendar.get(Calendar.MINUTE),
|
||||||
DateFormat.is24HourFormat(getActivity()));
|
DateFormat.is24HourFormat(getActivity()));
|
||||||
d.setTitle(getResources().getString(R.string.date_time_changeTime_text));
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user