logoalt Hacker News

IshKebabyesterday at 9:10 AM1 replyview on HN

I'm surprised Android has an API for one app to block notifications from other apps. I guess enjoy it while it lasts.


Replies

manarthyesterday at 9:20 AM

The NotificationListenerService.

It has genuine use-cases such as this DoNotNotify app, but could easily be misused - e.g. malware intercepting a wallet OTP notification and forwarding it to the attacker.

Access to the API is controlled by a specific permission which users have to explicitly enable in "Special app access".

https://developer.android.com/reference/android/service/noti...

show 2 replies