Hello all,
I'm new to Automate so please excuse the noob question:
I would like to run a shell command when the Android device is pulled of the USB power, and I managed to create a flow that reacts to that (that was super easy, thanks to dev for that!).
The challenge I have is that I'd like to run the following command:
"settings put global overlay_display_devices 0"
I get a permission denied error message. I've tried also the Super User shell command, but didn't have high hopes since my rooting my device is not an option.
I also tried ADB Shell command, but a connection refused message there, and I would really prefer to use shell command since I would need the ADB connection for something else. (Doing ADB
Many thanks for any hints in advance!
Mikael