If got some issues with a notification I want to show in the notification bar. Although I set the notification flag to Notification.DEFAULT_LIGHTS & Notification.F
Notification.DEFAULT_LIGHTS & Notification.F
While building Notification by NotificationBuilder you can use notificationBuilder.setAutoCancel(true);.
Notification
NotificationBuilder
notificationBuilder.setAutoCancel(true);