create notification channels ahead of time so users can edit the settings before a notification was issued

This commit is contained in:
Conny Duck 2017-10-21 21:28:05 +02:00
commit 8e44348f46
3 changed files with 13 additions and 6 deletions

View file

@ -173,7 +173,7 @@ public class NotificationMaker {
notificationManager.notify(notifyId, builder.build());
}
private static void createNotificationChannels(Context context) {
public static void createNotificationChannels(Context context) {
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
NotificationManager mNotificationManager =