android - Getting notifications with accessibilty service if device is muted? -


the problem is: accessibility service doesn't called on new notification, if device muted (i guess on android 5+). found nothing on internet. there way enable accessibility service muted devices?

i need app "autoresponder whatsapp" notifications no matter phone state.

this interesting tidbit you've found here. feel not intended behavior, none less think best solution use notificationmanager , setinterruptionfilter interruption_filter_all.

notificationmanager mnotificationmanager = (notificationmanager) getsystemservice(context.notification_service);  mnotificationmanager.setinterruptionfilter(notificationmanager.interruption_filter_all); 

this disable dnd mode , accessibilityservice should start receiving events again without restarting app or anything.


Popular posts from this blog

node.js - How do I prevent MongoDB replica set from querying the primary? -

c# - Randomly pick a specific int from a 2D Array -

php - Angularjs http.delete is not working after deploying project on server -