NotificationCompat.Builder b = new NotificationCompat.Builder(context)
.setAutoCancel(true)
.setContentText(DevotionReminder.getNotificationText())
.setContentTitle(context.getString(R.string.dr_notification_title))
.setContentIntent(pi)
<BUG>.setColor(context.getResources().getColor(R.color.accent))
.setSmallIcon(R.drawable.ic_stat_reminder);</BUG>
String reminder_sound = Preferences.getString(DevotionReminder.REMINDER_SOUND);
boolean reminder_vibrate = Preferences.getBoolean(DevotionReminder.REMINDER_VIBRATE, false);
if (reminder_sound == null) {

NotificationCompat.Builder b = new NotificationCompat.Builder(context)
.setAutoCancel(true)
.setContentText(DevotionReminder.getNotificationText())
.setContentTitle(context.getString(R.string.dr_notification_title))
.setContentIntent(pi)
.setColor(ResourcesCompat.getColor(context.getResources(), R.color.accent, context.getTheme()))
.setSmallIcon(R.drawable.ic_stat_reminder);
String reminder_sound = Preferences.getString(DevotionReminder.REMINDER_SOUND);
boolean reminder_vibrate = Preferences.getBoolean(DevotionReminder.REMINDER_VIBRATE, false);
if (reminder_sound == null) {
