u/Eldhrimer

▲ 1 r/tasker

I'm trying to automate connecting to a Bluetooth device (a wireless Android Auto adapter) using Tasker's Bluetooth Connection action. It fails every time with Error: 1 / java.lang.reflect.InvocationTargetException. I dug into the full Tasker log and found the following:

java.lang.SecurityException: Neither user XXXXX nor current process 
has android.permission.MODIFY_PHONE_STATE
at android.bluetooth.BluetoothHeadset.connect

The weird part is that unpair works perfectly fine in Tasker

Device is unrooted. Has anyone faced this problem?

reddit.com
u/Eldhrimer — 12 days ago