I am running below adb command from terminal in Mac adb shell am start -a android.intent.action.MAIN -n com.android.settings/.bluetooth.BluetoothSettings
but this throws security exception. Logs are: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.android.settings/.bluetooth.BluetoothSettings } from null (pid=21715, uid=2000) requires android.permission.BLUETOOTH_ADMIN
Device used is Galaxy S9 v8.0
User contributions licensed under CC BY-SA 3.0