Is it possible to override notifications that are outside the scope of the app. I have read on https://developer.android.com/guide/topics/ui/notifiers/notifications.html on how to create and manage notifications but I'm looking to silence all (even outside the scope) notifications when an app is running. Can it be done?(dun dun duuunnnnnnnn!)
Asked
Active
Viewed 400 times
-1
-
I highly doubt you can modify the way other apps work – IAmGroot Jun 21 '16 at 20:09
1 Answers
0
It can be done by using a NotificationListenerService to control notifications if that's what you want, but I think you really want to temporarily silence a phone's notifications and not dismiss them. That will probably not give users a good experience though.

Community
- 1
- 1

Nick Felker
- 11,536
- 1
- 21
- 35
-
-
You wouldn't modify them, but you could dismiss them or turn on Do Not Disturb mode so users don't see the notification. https://developer.android.com/reference/android/service/notification/NotificationListenerService.html#cancelAllNotifications() – Nick Felker Jun 22 '16 at 02:15