Fix notification rescheduling

pull/574/head
Alex Baker 7 years ago
parent d94598146a
commit 840361237c

@ -96,7 +96,7 @@ public class ReminderPreferences extends InjectingPreferenceActivity {
private void rescheduleNotificationsOnChange(int... resIds) {
for (int resId : resIds) {
findPreference(getString(resId)).setOnPreferenceChangeListener((preference, newValue) -> {
startService(new Intent(ReminderPreferences.this, NotificationSchedulerIntentService.class));
JobIntentService.enqueueWork(this, NotificationSchedulerIntentService.class, JobManager.JOB_ID_NOTIFICATION_SCHEDULER, new Intent());
return true;
});
}

Loading…
Cancel
Save