My app uses Internet access to display ads so I have the Internet permission declared in Manifest. With latest Android releases, the user can disable this permission. My problem is that if the user cancels this permission, the app is not able to load ads. I know I can check if there is any current connection, in that case I will not try to load the app. But I want to know if the user has denied that permission in Android settings. The idea is to prompt the user to enable it or the app will not run.
I add a screenshot of the Huawei Android Pie where the user can modify these settings