Create timer auto silence preference. Change default values of alarm auto silence and snooze duration preferences. Remove world clock preferences.
This commit is contained in:
@@ -100,7 +100,8 @@ public class TimerRingtoneService extends RingtoneService<Timer> {
|
||||
|
||||
@Override
|
||||
protected int minutesToAutoSilence() {
|
||||
// TODO: Use same value as for Alarms, or create new preference.
|
||||
return 1;
|
||||
String value = PreferenceManager.getDefaultSharedPreferences(this).getString(
|
||||
getString(R.string.key_timer_silence_after), "15");
|
||||
return Integer.parseInt(value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user