I updated my code to API v26, set up NotificationChannels and I can see my notifications, but I have logic regarding disabled notifications. Before 26 I have something like:
NotificationManagerCompat.from(context).areNotificationsEnabled()
And this seems to be not useful now. So how can one know if notification channel is disabled in the settings?