Unfortunately, this did not work. I revoked the permission and restarted my phone. After reboot, MacroDroid would ask me to grant the permission for another macro that I set, which includes an action to change screen orientation (invoked from a button press in the notification bar). This macro...
Thanks for the reply!
Unfortunately, it still doesn't work. I'm indeed using Android 10, so I checked for the permission to draw over other apps. I had given it already. It is also not asked for when adding a launch app action (I guess because the permission is already granted).
What else...
I've created a macro to bring up the keyboard change dialog. However, this only works if MacroDroid is in the foreground. Any idea, why?
Other macros work without issues.