Steps to reproduce:
Have Automate in work profile (may also be reproducible in owner profile, didn't check)
Create a flow that uses Data Network Default block
Grant relevant permissions
Design the flow to be continuously running
Enable "run at startup"
Run the flow
Disable location
Reboot (or pause and then unpause work profile apps, which is a comfier way to play with this bug)
Expected behavior:
Flow would gracefully start because nominally network info can still be retrieved OR it would fail explicitly and put a red message in the flow log.
Observed behavior:
Automate service fails to start wholesale (no notification about number of fibers running) silently BUT the flow is nonetheless is executed SOMETIMES (I know because it modifies some files when it fires so I can check if it ran or not without opening automate and reading logs) without putting anything useful into any log I can find.
This does not result in explicit error in logs.
Also, notably, if you manually open the Automate app (from the work profile app drawer) the service will initiate and notification with fiber counter will appear (so whatever "location is disabled' is doing is not very critical for launching automate's service OR resuming the "data network default" containing flow - after automate being opened the flow is displayed as running and runs just fine)
explicitly starting the service as root via cmd
cmd activity start --user 13 -a android.intent.action.VIEW -n com.llamalab.automate/com.llamalab.automate.StartServiceActivity -f 0 com.llamalab.automate
will succeed at starting the service and the fiber counting notification regardless of whether location is on or off . The flow with data network default block will be resumed gracefully.
Starting any flow via shortcut regardless of whether location is on or off will succeed at starting the service and make the fiber counter notification show, and the data network default flow will resume and run gracefully.
So that's about it.
Oh, and the reason I implicate the "Location: OFF" in the quick access tiles is that if I turn it to Location:ON from there and then pause/unpause work apps (or reboot, tried both) no problems occur and Automate starts as expected, resuming every flow with no problem