How can I black list device setting and only enable the Bluetooth settings. I can blacklist device settings and use the setting manager to manage the bluetooth. but when it comes to pairing the pairing code is not getting prompt. I think it is due to device setting is blocked.
then I got following script to enable permition popups for bluetooth. this is working only with one device which have android version 8
manualblacklist add com.android.settings "
" manualblacklist on "
- unblock some components that we need to use
Ex
"manualblacklist addallowed com.android.settings/.bluetooth.RequestPermissionActivity"
"manualblacklist addallowed com.android.settings/.bluetooth.BluetoothPairingDialog"