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
notification.flags = Notification.DEFAULT_LIGHTS | Notification.FLAG_AUTO_CANCEL
From the documentation:
Bit to be bitwise-ored into the flags field that should be set if the notification should be canceled when it is clicked by the user