My app is using the Accessibility API to catch notifications generated by other apps and act on them. I'd like to add a feature where the original notification (generated by some other app) can be cancelled.
The usual method of using the notification manager won't work since you have to be the one who created the notification to be able to clear it. The accessibility API lets me read a different app's notification but does it allow you to clear it as well?
Thanks!
No, you cannot clear other app's notifications (thankfully).
If deleteIntent of the notification was defined already, can cancel it.