Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created March 22, 2017 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitherejoe/8d003a0ea3bcdefb66fae42c256ee114 to your computer and use it in GitHub Desktop.
Save hitherejoe/8d003a0ea3bcdefb66fae42c256ee114 to your computer and use it in GitHub Desktop.
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