Fix for AST-260 - overdue alarms during quiet hours get no vibrate

pull/14/head
Tim Su 14 years ago
parent c092436f4f
commit e31cc41372

@ -246,8 +246,9 @@ public class Notifications extends BroadcastReceiver {
}
}
// quiet hours + periodic = no vibrate
if(quietHours && (type == ReminderService.TYPE_RANDOM)) {
// quiet hours && ! due date or snooze = no vibrate
if(quietHours && !(type == ReminderService.TYPE_DUE ||
type == ReminderService.TYPE_SNOOZE)) {
notification.vibrate = null;
} else {
if (Preferences.getBoolean(R.string.p_rmd_vibrate, true)

Loading…
Cancel
Save