|
|
|
@ -157,6 +157,7 @@ public class Notifier {
|
|
|
|
|
|
|
|
|
|
|
|
Notification notification = new NotificationCompat.Builder(context)
|
|
|
|
Notification notification = new NotificationCompat.Builder(context)
|
|
|
|
.setSmallIcon(R.drawable.ic_check_white_24dp)
|
|
|
|
.setSmallIcon(R.drawable.ic_check_white_24dp)
|
|
|
|
|
|
|
|
.setCategory(NotificationCompat.CATEGORY_REMINDER)
|
|
|
|
.setTicker(title)
|
|
|
|
.setTicker(title)
|
|
|
|
.setWhen(currentTimeMillis())
|
|
|
|
.setWhen(currentTimeMillis())
|
|
|
|
.setContentTitle(title)
|
|
|
|
.setContentTitle(title)
|
|
|
|
@ -237,6 +238,7 @@ public class Notifier {
|
|
|
|
|
|
|
|
|
|
|
|
NotificationCompat.Builder builder = new NotificationCompat.Builder(context)
|
|
|
|
NotificationCompat.Builder builder = new NotificationCompat.Builder(context)
|
|
|
|
.setSmallIcon(R.drawable.ic_check_white_24dp)
|
|
|
|
.setSmallIcon(R.drawable.ic_check_white_24dp)
|
|
|
|
|
|
|
|
.setCategory(NotificationCompat.CATEGORY_REMINDER)
|
|
|
|
.setTicker(taskTitle)
|
|
|
|
.setTicker(taskTitle)
|
|
|
|
.setWhen(currentTimeMillis())
|
|
|
|
.setWhen(currentTimeMillis())
|
|
|
|
.setContentTitle(taskTitle)
|
|
|
|
.setContentTitle(taskTitle)
|
|
|
|
|