Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/DeleteChannel.java Secret
Created Mar 22, 2017

Embed
What would you like to do?
NotificationManager notificationManager =
(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
String channelId = "some_channel_id";
NotificationChannel notificationChannel =
notificationManager.getNotificationChannel(channelId);
notificationManager.deleteNotificationChannel(notificationChannel);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.