summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2010-12-03 09:58:20 -0800
committerSvetoslav Ganov <svetoslavganov@google.com>2010-12-07 13:33:20 -0800
commit126f5ecf4f5e53c08b0b68a81c44bd9840fd0907 (patch)
treed2f764005daed172c658f8576406747303cf79ee
parent8b441e3252d422616655a5a9e6ed938ef8ebf817 (diff)
downloadpackages_apps_settings-126f5ecf4f5e53c08b0b68a81c44bd9840fd0907.zip
packages_apps_settings-126f5ecf4f5e53c08b0b68a81c44bd9840fd0907.tar.gz
packages_apps_settings-126f5ecf4f5e53c08b0b68a81c44bd9840fd0907.tar.bz2
removing explicit setting of time/date pciker dialogs
Change-Id: Ic92a3de895735fc019ca506f904d63f23c82ec8f
-rw-r--r--res/values/strings.xml4
-rw-r--r--src/com/android/settings/DateTimeSettings.java2
2 files changed, 0 insertions, 6 deletions
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 @@ public class DateTimeSettings extends SettingsPreferenceFragment
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 @@ public class DateTimeSettings extends SettingsPreferenceFragment
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: