create notification channels ahead of time so users can edit the settings before a notification was issued
This commit is contained in:
parent
8b13ce4806
commit
8e44348f46
3 changed files with 13 additions and 6 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue