Page 1 of 1

YouTube auto rotate

Posted: 27 Jan 2018 02:25
by karthikn130
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

Re: YouTube auto rotate

Posted: 31 Jan 2018 02:21
by jjts
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)?

Re: YouTube auto rotate

Posted: 31 Jan 2018 03:06
by karthikn130
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

Posted: 31 Jan 2018 05:24
by jjts
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!