Observation: screen orientation detection with screen off rendered defunct when Subroutine call added

22 views
Skip to first unread message

Bushmills

unread,
Jul 25, 2021, 6:10:03 AM7/25/21
to Automate
I've uploaded a flow which demonstrates this to community shared flows at https://llamalab.com/automate/community/flows/40021
Most likely is that behaviour linked to detecting / attempting to detect screen orientation while screen is turned off. Still, the first flow manages to do that. It doesn't appear to be related to the amount if time passed after screen has been turned off.
My current speculation and hypothesis of what may cause this effect is written into the flow description.

Henrik "The Developer" Lindqvist

unread,
Jul 25, 2021, 11:38:27 AM7/25/21
to Automate
As the documentation say, "The screen orientation will only remain for as long as the fiber is running."
The Subroutine run in its own fiber.

Bushmills

unread,
Jul 25, 2021, 11:43:44 AM7/25/21
to Automate
I see. That explains it. Thank you!
Reply all
Reply to author
Forward
0 new messages