Samsung A32 5G, Android 12, One UI 4.1.
Wanting to use Tasker to enable/disable Mobile Data.
Have used adb to grant WRITE_SECURE_SETTINGS permission:
"adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS"
Double-checked that WRITE_SECURE_SETTINGS is marked as "granted=true" in the list of installed permissions for Tasker.
In spite of that, if I try to define a task to modify Mobile Data state, I am prompted by Tasker to grant the permission.
As a further test, I tried running that task and it has no effect, except on the setting UI.
MV