removing explicit setting of time/date pciker dialogs
Change-Id: Ic92a3de895735fc019ca506f904d63f23c82ec8f
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c709871..5df08d7 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -272,10 +272,6 @@
<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 -->
<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. -->
<string name="choose_timezone">Select time zone</string>
<!-- Do not translate. Used as the value for a setting. -->
diff --git a/src/com/android/settings/DateTimeSettings.java b/src/com/android/settings/DateTimeSettings.java
index 1a37207..f1edbb9 100644
--- a/src/com/android/settings/DateTimeSettings.java
+++ b/src/com/android/settings/DateTimeSettings.java
@@ -220,7 +220,6 @@
calendar.get(Calendar.YEAR),
calendar.get(Calendar.MONTH),
calendar.get(Calendar.DAY_OF_MONTH));
- d.setTitle(getResources().getString(R.string.date_time_changeDate_text));
break;
}
case DIALOG_TIMEPICKER: {
@@ -231,7 +230,6 @@
calendar.get(Calendar.HOUR_OF_DAY),
calendar.get(Calendar.MINUTE),
DateFormat.is24HourFormat(getActivity()));
- d.setTitle(getResources().getString(R.string.date_time_changeTime_text));
break;
}
default: