How to remove the dialog window that asks the user to allow bluetooth visibility on Android ?

This dialog contains the following message : « An app wants to make your device visible to other Bluetooth devices… » if you look in the code you’ll see that this dialog is related to the Settings application, particularly RequestPermissionActivty.java. You’ll see also that a boolean can automatically click on the yes button, exactly what we need: […]