Receiver when turning off / on notification from device settings

I want to restore notifications when a user reactivates notifications for my application in the device settings.

Is there any way to listen to this event?

update: I always have a notification in the status bar. When the user turns off notifications in the device settings application. My notifications will be lost. I want to know when the user reactivates the notification in order to show my notifications again in the status bar.

+4
source share

Source: https://habr.com/ru/post/1694948/


All Articles