KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Since API level 16 (Jelly Bean), there is the possibility to add actions to a notification with builder.addAction(iconId, title, intent); But when I add an action to a notification and the action is pressed, the notification is not going to be dismissed. When the notification itself is being clicked, it can be dismissed with notification.flags = Notification.FLAG_AUTO_CANCEL; or builder.setAutoCancel(true); But obviously, this has nothing to with the actions associated to the notification. Any hints? Or is this not part of the API yet? I did not find anything.
Tags (comma-separated)
Save Edits
Cancel