my App creates a few notifications and with the Help of PendingIntents it takes you to an special Activity. It all works pretty fine, the only problem i have is that i want the Notification to only be deleted when the user touches it, not when the user uses the "Clear all" Button ( X on top of the Notificationbar).
At the Moment i am using the
method. It deletes the Notification when the user touches it, but also when the "Clear ALl" Button is pressed. My Question is now if theres any way i can surpress the Notification being deleted by the "Clear All" Button.
If you wonder why i want this, i created a App thats allows you to use Notifications as an kind of reminder. The "Clear Button" is annoying here then, because it deletes all the reminder notifications.
Thx for the Help, if you want any additional Code, just write it.