Some phones like "OnePlus" are providing customised VPN dialog which has 'Don't ask again' checkbox even for the VPN dialog. Generally I would have followed the process of, if it's a run-time permission, with shouldShowRequestPermissionRationale(). But as far as I understood, this isn't a run-time permission but just a dialog prompt maintained by 'System'. So is there any way that I'll know that user has checked that option. Any solution that can solve my issue is appreciated.
Implemented a VPN service. My app need to connect to VPN in-order to access a feature. But some phones like 'OnePlus' has customised VPN dialog with 'Don't ask again' checkbox. I'm expecting a solution to know if user checked that option.