I want that the notification will be closed after the user is clicking on it. I saw that everybody saying to use flags, but I can\'t find the flags anywhere because I\'m usi
In kotlin, you can use:
mBuilder.build().flags.and(Notification.FLAG_AUTO_CANCEL)