Control screen orientation using Tasker
I have the 7 eleven fuel app installed on my Android phone. A link to the app is below.
This app always runs in portrait mode. However, when I check the device rotation settings by pulling the notification shade down, it’s always set to auto rotation.
Using Tasker, I have a few tasks that use a scene that works in portrait mode only. I export the tasks as an app to use on other devices. In one of my tasks, I turn auto rotation off which forces portrait mode. When the app is closed, it turns auto rotation back to on. This happens when the “back” button is pressed. There are two cases which I don’t know how to handle because it leaves the portrait mode ON.
1. If user presses the home key to move away from the app
2. If user uses the multi task button to switch to another app
How do I handle this?
Read responses in winsource.com