I have a requirement what I need to enable/disable the "Show notification" programmatically of App Info. I googled it for so much time but couldn't get proper solution. Is this possible in android to turn ON/OFF "Show notification" programmatically?. Thanks in advance.
[![enter image description here](https://i.stack.imgur.com/NUige.png)](https://i.stack.imgur.com/NUige.png)