This flow turns on auto rotate when YouTube app starts and turns off auto rotate when the app ends. Useful for those use YouTube frequently.
http://automagic4android.com/flow.php?i ... f35f00ba29
YouTube auto rotate
Moderator: Martin
Re: YouTube auto rotate
I implemented the same thing lol. This is nice though, mine is 2 separate flows, yours is nicely in 1. Curious -- why do you check if YT is running 2 times and then wait 5 seconds though (going down the false branch)?
-
- Posts: 7
- Joined: 19 Mar 2016 13:54
Re: YouTube auto rotate
The second if condition is to check weather status bar is pulled down while watching YouTube. If that is true we dont want to stop auto rotate. The second if condition is doing that job.
Re: YouTube auto rotate
Ooh, I see. I hadn't found that to be needed, atleast for my phones, though perhaps yours is different. On my current and last phone atleast, when I have YouTube open in landscape and pull down the status bar, it opens in landscape and YouTube stays in landscape.
Anyhow, thanks for the explanation and for sharing your flow!
Anyhow, thanks for the explanation and for sharing your flow!